public class PolygonIterator extends Object implements PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
Constructor and Description |
---|
PolygonIterator(Polygon polygon,
AffineTransform at)
Creates a new PointIterator object.
|
Modifier and Type | Method and Description |
---|---|
int |
currentSegment(double[] coords) |
int |
currentSegment(float[] coords) |
int |
getWindingRule() |
boolean |
isDone() |
void |
next() |
public PolygonIterator(Polygon polygon, AffineTransform at)
polygon
- at
- public int getWindingRule()
getWindingRule
in interface PathIterator
public void next()
next
in interface PathIterator
public boolean isDone()
isDone
in interface PathIterator
public int currentSegment(double[] coords)
currentSegment
in interface PathIterator
public int currentSegment(float[] coords)
currentSegment
in interface PathIterator