org.geotools.renderer.lite
Class DashedShape.DashedIterator

Object
  extended by DashedShape.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
DashedShape.DashedIterator(PathIterator delegate, float[] dashArray, float dashPhase)
           
 
Method Summary
 int currentSegment(double[] coords)
           
 int currentSegment(float[] coords)
           
 int getWindingRule()
           
 boolean isDone()
           
 void next()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DashedShape.DashedIterator

public DashedShape.DashedIterator(PathIterator delegate,
                                  float[] dashArray,
                                  float dashPhase)
Method Detail

currentSegment

public int currentSegment(float[] coords)
Specified by:
currentSegment in interface PathIterator

currentSegment

public int currentSegment(double[] coords)
Specified by:
currentSegment in interface PathIterator

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


Copyright © 1996-2014 Geotools. All Rights Reserved.