public abstract class AbstractPathConstructor extends Object implements PathConstructor
| Modifier and Type | Field and Description | 
|---|---|
| protected double | currentX | 
| protected double | currentY | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractPathConstructor() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | addPath(PathConstructor out,
       Shape s,
       AffineTransform transform) | 
| boolean | addPath(Shape s)Adds the points of the shape using path construction
 operators. | 
| boolean | addPath(Shape s,
       AffineTransform transform)Adds the points of the shape using path construction
 operators, using the given transform. | 
| void | flush()Flushes any cached info to the output file. | 
| static boolean | isEvenOdd(Shape s) | 
public void flush()
           throws IOException
PathConstructorflush in interface PathConstructorIOExceptionpublic boolean addPath(Shape s) throws IOException
PathConstructoraddPath in interface PathConstructorIOExceptionpublic boolean addPath(Shape s, AffineTransform transform) throws IOException
PathConstructoraddPath in interface PathConstructorIOExceptionpublic static boolean addPath(PathConstructor out, Shape s, AffineTransform transform) throws IOException
IOExceptionpublic static boolean isEvenOdd(Shape s)
Copyright © 2014. All rights reserved.