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