java.awt.geom.PathIterator
public class CachedPathIteratorFactory.CachedPathIterator extends Object implements java.awt.geom.PathIterator
Modifier and Type | Method | Description |
---|---|---|
int |
currentSegment(double[] coords) |
|
int |
currentSegment(float[] coords) |
|
int |
currentSegment(float[] coords,
float length) |
Returns the current segment up to certain length.
|
void |
getCurrentSegmentEnd(float[] point) |
Returns the point where the current segment ends
|
float |
getCurrentSegmentLength() |
|
float |
getTotalLength() |
Returns the total length of the path
|
int |
getWindingRule() |
|
boolean |
isDone() |
|
void |
jumpToSegment(float length) |
Restarts the iterator and jumps all the segments of this path up to the length value.
|
void |
next() |
public float getCurrentSegmentLength()
public int getWindingRule()
getWindingRule
in interface java.awt.geom.PathIterator
public boolean isDone()
isDone
in interface java.awt.geom.PathIterator
public void next()
next
in interface java.awt.geom.PathIterator
public int currentSegment(float[] coords)
currentSegment
in interface java.awt.geom.PathIterator
public int currentSegment(double[] coords)
currentSegment
in interface java.awt.geom.PathIterator
public void getCurrentSegmentEnd(float[] point)
public void jumpToSegment(float length)
public int currentSegment(float[] coords, float length)
public float getTotalLength()