Package org.geotools.renderer.lite
Class DashedShape.DashedIterator
- Object
-
- DashedIterator
-
- All Implemented Interfaces:
PathIterator
- Enclosing class:
- DashedShape
public class DashedShape.DashedIterator extends Object implements PathIterator
The iterator that generates the dashed segments in a streaming fashion- Author:
- Andrea Aime - OpenGeo
-
-
Field Summary
-
Fields inherited from interface PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
-
-
Constructor Summary
Constructors Constructor Description DashedIterator(PathIterator delegate, float[] dashArray, float dashPhase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
currentSegment(double[] coords)
int
currentSegment(float[] coords)
int
getWindingRule()
boolean
isDone()
void
next()
-
-
-
Constructor Detail
-
DashedIterator
public DashedIterator(PathIterator delegate, float[] dashArray, float dashPhase)
-
-
Method Detail
-
currentSegment
public int currentSegment(float[] coords)
- Specified by:
currentSegment
in interfacePathIterator
-
currentSegment
public int currentSegment(double[] coords)
- Specified by:
currentSegment
in interfacePathIterator
-
getWindingRule
public int getWindingRule()
- Specified by:
getWindingRule
in interfacePathIterator
-
isDone
public boolean isDone()
- Specified by:
isDone
in interfacePathIterator
-
next
public void next()
- Specified by:
next
in interfacePathIterator
-
-