java.awt.geom.PathIteratorpublic class ShapeCollectionPathIterator
extends java.lang.Object
implements java.awt.geom.PathIterator
PathIterator which provides paths for a collection of Shapes.| Constructor | Description |
|---|---|
ShapeCollectionPathIterator(java.util.Collection shapes,
java.awt.geom.AffineTransform affineTransform) |
Creates a new path iterator for a collection of
Shapes. |
| Modifier and Type | Method | Description |
|---|---|---|
int |
currentSegment(double[] coords) |
|
int |
currentSegment(float[] coords) |
|
int |
getWindingRule() |
|
boolean |
isDone() |
|
void |
next() |
public ShapeCollectionPathIterator(java.util.Collection shapes,
java.awt.geom.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 java.awt.geom.PathIteratorpublic boolean isDone()
isDone in interface java.awt.geom.PathIteratorpublic void next()
next in interface java.awt.geom.PathIteratorpublic int currentSegment(float[] coords)
currentSegment in interface java.awt.geom.PathIteratorpublic int currentSegment(double[] coords)
currentSegment in interface java.awt.geom.PathIteratorCopyright © 2018. All rights reserved.