Package com.itextpdf.awt.geom
Class FlatteningPathIterator
- java.lang.Object
-
- com.itextpdf.awt.geom.FlatteningPathIterator
-
- All Implemented Interfaces:
PathIterator
public class FlatteningPathIterator extends java.lang.Object implements PathIterator
-
-
Field Summary
-
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 FlatteningPathIterator(PathIterator path, double flatness)
FlatteningPathIterator(PathIterator path, double flatness, int limit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
currentSegment(double[] coords)
int
currentSegment(float[] coords)
double
getFlatness()
int
getRecursionLimit()
int
getWindingRule()
boolean
isDone()
void
next()
-
-
-
Constructor Detail
-
FlatteningPathIterator
public FlatteningPathIterator(PathIterator path, double flatness)
-
FlatteningPathIterator
public FlatteningPathIterator(PathIterator path, double flatness, int limit)
-
-
Method Detail
-
getFlatness
public double getFlatness()
-
getRecursionLimit
public int getRecursionLimit()
-
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(float[] coords)
- Specified by:
currentSegment
in interfacePathIterator
-
currentSegment
public int currentSegment(double[] coords)
- Specified by:
currentSegment
in interfacePathIterator
-
-