com.vividsolutions.jts.awt
Class ShapeCollectionPathIterator
java.lang.Object
com.vividsolutions.jts.awt.ShapeCollectionPathIterator
- All Implemented Interfaces:
- PathIterator
public class ShapeCollectionPathIterator
- extends Object
- implements PathIterator
A PathIterator which provides paths for a collection of Shapes.
- Author:
- Martin Davis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShapeCollectionPathIterator
public ShapeCollectionPathIterator(Collection shapes,
AffineTransform affineTransform)
- Creates a new path iterator for a collection of
Shapes.
- Parameters:
shapes - the Shapes in the collectionaffineTransform - a optional transformation to be applied to the coordinates in the path (may be null)
getWindingRule
public int getWindingRule()
- Specified by:
getWindingRule in interface PathIterator
isDone
public boolean isDone()
- Specified by:
isDone in interface PathIterator
next
public void next()
- Specified by:
next in interface PathIterator
currentSegment
public int currentSegment(float[] coords)
- Specified by:
currentSegment in interface PathIterator
currentSegment
public int currentSegment(double[] coords)
- Specified by:
currentSegment in interface PathIterator
Copyright © 2012. All Rights Reserved.