Package com.itextpdf.awt.geom
Class QuadCurve2D.Iterator
- java.lang.Object
-
- com.itextpdf.awt.geom.QuadCurve2D.Iterator
-
- All Implemented Interfaces:
PathIterator
- Enclosing class:
- QuadCurve2D
class QuadCurve2D.Iterator extends java.lang.Object implements PathIterator
-
-
Field Summary
Fields Modifier and Type Field Description (package private) QuadCurve2D
c
The source QuadCurve2D object(package private) int
index
The current segmenet index(package private) AffineTransform
t
The path iterator transformation-
Fields inherited from interface com.itextpdf.awt.geom.PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
-
-
Constructor Summary
Constructors Constructor Description Iterator(QuadCurve2D q, AffineTransform t)
Constructs a new QuadCurve2D.Iterator for given line and transformation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
currentSegment(double[] coords)
int
currentSegment(float[] coords)
int
getWindingRule()
boolean
isDone()
void
next()
-
-
-
Field Detail
-
c
QuadCurve2D c
The source QuadCurve2D object
-
t
AffineTransform t
The path iterator transformation
-
index
int index
The current segmenet index
-
-
Constructor Detail
-
Iterator
Iterator(QuadCurve2D q, AffineTransform t)
Constructs a new QuadCurve2D.Iterator for given line and transformation- Parameters:
q
- - the source QuadCurve2D objectat
- - the AffineTransform object to apply rectangle path
-
-
Method Detail
-
getWindingRule
public int getWindingRule()
- Specified by:
getWindingRule
in interfacePathIterator
-
isDone
public boolean isDone()
- Specified by:
isDone
in interfacePathIterator
-
next
public void next()
- Specified by:
next
in interfacePathIterator
-
currentSegment
public int currentSegment(double[] coords)
- Specified by:
currentSegment
in interfacePathIterator
-
currentSegment
public int currentSegment(float[] coords)
- Specified by:
currentSegment
in interfacePathIterator
-
-