Class CubicCurve2D.Iterator
java.lang.Object
com.itextpdf.awt.geom.CubicCurve2D.Iterator
- All Implemented Interfaces:
PathIterator
- Enclosing class:
CubicCurve2D
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) CubicCurve2DThe source CubicCurve2D object(package private) intThe current segmenet index(package private) AffineTransformThe path iterator transformationFields inherited from interface PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new CubicCurve2D.Iterator for given line and transformation -
Method Summary
Modifier and TypeMethodDescriptionintcurrentSegment(double[] coords) intcurrentSegment(float[] coords) intbooleanisDone()voidnext()
-
Field Details
-
c
The source CubicCurve2D object -
t
The path iterator transformation -
index
int indexThe current segmenet index
-
-
Constructor Details
-
Iterator
Iterator(CubicCurve2D c, AffineTransform t) Constructs a new CubicCurve2D.Iterator for given line and transformation- Parameters:
c- - the source CubicCurve2D objectat- - the AffineTransform object to apply rectangle path
-
-
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(double[] coords) - Specified by:
currentSegmentin interfacePathIterator
-
currentSegment
public int currentSegment(float[] coords) - Specified by:
currentSegmentin interfacePathIterator
-