public class ShapeCollectionPathIterator extends Object implements PathIterator
PathIterator which provides paths for a collection of Shapes.SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO| Constructor and Description |
|---|
ShapeCollectionPathIterator(Collection shapes,
AffineTransform affineTransform)
Creates a new path iterator for a collection of
Shapes. |
| Modifier and Type | Method and Description |
|---|---|
int |
currentSegment(double[] coords) |
int |
currentSegment(float[] coords) |
int |
getWindingRule() |
boolean |
isDone() |
void |
next() |
public ShapeCollectionPathIterator(Collection shapes, AffineTransform affineTransform)
Shapes.shapes - the Shapes in the collectionaffineTransform - a optional transformation to be applied to the coordinates in the path (may be null)public int getWindingRule()
getWindingRule in interface PathIteratorpublic boolean isDone()
isDone in interface PathIteratorpublic void next()
next in interface PathIteratorpublic int currentSegment(float[] coords)
currentSegment in interface PathIteratorpublic int currentSegment(double[] coords)
currentSegment in interface PathIteratorCopyright © 2024. All rights reserved.