public abstract class PolylinePathConstructor extends CubicToLinePathConstructor
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | closed | 
| protected boolean | fill | 
currentX, currentY| Constructor and Description | 
|---|
| PolylinePathConstructor(boolean fill) | 
| PolylinePathConstructor(boolean fill,
                       double resolution) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | closePath(double x0,
         double y0)Closes the path by drawing a straight line to the last point which was
 argument to move. | 
| void | line(double x,
    double y)Draws a line from the current point to (x,y) and make (x,y) the current
 point. | 
| void | move(double x,
    double y)Makes (x,y) the current point. | 
| void | writePolyline() | 
| protected abstract void | writePolyline(Vector<Point2D.Double> polyline) | 
cubicquadpublic PolylinePathConstructor(boolean fill)
public PolylinePathConstructor(boolean fill,
                       double resolution)
public void move(double x,
        double y)
          throws IOException
PathConstructormove in interface PathConstructormove in class QuadToCubicPathConstructorIOExceptionpublic void line(double x,
        double y)
          throws IOException
PathConstructorline in interface PathConstructorline in class QuadToCubicPathConstructorIOExceptionpublic void closePath(double x0,
             double y0)
               throws IOException
PathConstructorclosePath in interface PathConstructorclosePath in class QuadToCubicPathConstructorIOExceptionpublic void writePolyline()
                   throws IOException
IOExceptionprotected abstract void writePolyline(Vector<Point2D.Double> polyline) throws IOException
IOExceptionCopyright © 2014. All rights reserved.