public class RMPathIterator
extends java.lang.Object
implements java.awt.geom.PathIterator
| Constructor and Description |
|---|
RMPathIterator(RMPath path,
java.awt.geom.AffineTransform aTransform)
Creates a new path iterator for given path.
|
| Modifier and Type | Method and Description |
|---|---|
int |
currentSegment(double[] coords)
Returns the current segment's segment type and segment points (by reference).
|
int |
currentSegment(float[] coords)
Returns the current segment's segment type and segment points (by reference) as floats.
|
int |
getWindingRule()
Returns the path winding rule.
|
boolean |
isDone()
Returns whether path iterator is done.
|
void |
next()
Increments path iterator to the next segment.
|
public RMPathIterator(RMPath path, java.awt.geom.AffineTransform aTransform)
public int currentSegment(double[] coords)
currentSegment in interface java.awt.geom.PathIteratorpublic int currentSegment(float[] coords)
currentSegment in interface java.awt.geom.PathIteratorpublic int getWindingRule()
getWindingRule in interface java.awt.geom.PathIteratorpublic boolean isDone()
isDone in interface java.awt.geom.PathIteratorpublic void next()
next in interface java.awt.geom.PathIterator