protected class AbstractMultiPolygon.MultiPolygonIterator extends GeneralPathXIterator
affine, path, pointIdx, typeIdx| Constructor and Description |
|---|
MultiPolygonIterator(java.awt.geom.AffineTransform at) |
| Modifier and Type | Method and Description |
|---|---|
int |
currentSegment(double[] coords)
Returns the coordinates and type of the current path segment in
the iteration.
|
int |
currentSegment(float[] coords)
Returns the coordinates and type of the current path segment in
the iteration.
|
int |
getWindingRule()
Return the winding rule for determining the interior of the
path.
|
boolean |
isDone()
Tests if there are more points to read.
|
void |
next()
Moves the iterator to the next segment of the path forwards
along the primary direction of traversal as long as there are
more points in that direction.
|
currentSegment3Dpublic MultiPolygonIterator(java.awt.geom.AffineTransform at)
public int getWindingRule()
GeneralPathXIteratorgetWindingRule in interface java.awt.geom.PathIteratorgetWindingRule in class GeneralPathXIteratorPathIterator.WIND_EVEN_ODD,
PathIterator.WIND_NON_ZEROpublic void next()
GeneralPathXIteratornext in interface java.awt.geom.PathIteratornext in class GeneralPathXIteratorpublic boolean isDone()
GeneralPathXIteratorisDone in interface java.awt.geom.PathIteratorisDone in class GeneralPathXIteratorpublic int currentSegment(double[] coords)
GeneralPathXIteratorcurrentSegment in interface java.awt.geom.PathIteratorcurrentSegment in class GeneralPathXIteratorPathIterator.SEG_MOVETO,
PathIterator.SEG_LINETO,
PathIterator.SEG_QUADTO,
PathIterator.SEG_CUBICTO,
PathIterator.SEG_CLOSEpublic int currentSegment(float[] coords)
GeneralPathXIteratorcurrentSegment in interface java.awt.geom.PathIteratorcurrentSegment in class GeneralPathXIteratorPathIterator.SEG_MOVETO,
PathIterator.SEG_LINETO,
PathIterator.SEG_QUADTO,
PathIterator.SEG_CUBICTO,
PathIterator.SEG_CLOSE