net.refractions.udig.tools.edit.support
Class ControlPointPathIterator
java.lang.Object
net.refractions.udig.tools.edit.support.ControlPointPathIterator
- All Implemented Interfaces:
- java.awt.geom.PathIterator
public class ControlPointPathIterator
- extends java.lang.Object
- implements java.awt.geom.PathIterator
Draws all the Control handles for a EditGeom
. This may not be possible to implement because if two vertices are
overlapping there will be a hole where the overlap but try it out it may be acceptable.
Warning. this class is not fully tested yet so use with care
- Since:
- 1.1.0
- Author:
- Jesse
Fields inherited from interface java.awt.geom.PathIterator |
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControlPointPathIterator
public ControlPointPathIterator(EditGeom geom,
boolean selection,
int width,
int height)
currentSegment
public int currentSegment(float[] coords)
- Specified by:
currentSegment
in interface java.awt.geom.PathIterator
currentSegment
public int currentSegment(double[] coords)
- Specified by:
currentSegment
in interface java.awt.geom.PathIterator
getWindingRule
public int getWindingRule()
- Specified by:
getWindingRule
in interface java.awt.geom.PathIterator
isDone
public boolean isDone()
- Specified by:
isDone
in interface java.awt.geom.PathIterator
next
public void next()
- Specified by:
next
in interface java.awt.geom.PathIterator