Package com.graphbuilder.curve
Class ShapeMultiPathIterator
java.lang.Object
com.graphbuilder.curve.ShapeMultiPathIterator
- All Implemented Interfaces:
PathIterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final AffineTransformprivate intprivate final ShapeMultiPathprivate final intFields inherited from interface java.awt.geom.PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcurrentSegment(double[] coords) intcurrentSegment(float[] coords) intbooleanisDone()voidnext()
-
Field Details
-
ai0
private final int ai0 -
ai1
private final int ai1 -
at
-
smp
-
windingRule
private final int windingRule -
n
private int n
-
-
Constructor Details
-
ShapeMultiPathIterator
ShapeMultiPathIterator(ShapeMultiPath smp, AffineTransform at)
-
-
Method Details
-
getWindingRule
public int getWindingRule()- Specified by:
getWindingRulein interfacePathIterator
-
isDone
public boolean isDone()- Specified by:
isDonein interfacePathIterator
-
next
public void next()- Specified by:
nextin interfacePathIterator
-
currentSegment
public int currentSegment(float[] coords) - Specified by:
currentSegmentin interfacePathIterator
-
currentSegment
public int currentSegment(double[] coords) - Specified by:
currentSegmentin interfacePathIterator
-