public class PolylineIterator extends Object implements PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
Constructor and Description |
---|
PolylineIterator(Polyline2D pl,
AffineTransform at)
Create a new iterator over the given polyline and
with the given transform.
|
Modifier and Type | Method and Description |
---|---|
int |
currentSegment(double[] coords)
Get the current segment
|
int |
currentSegment(float[] coords)
Get the current segment
|
int |
getWindingRule()
Return the winding rule.
|
boolean |
isDone()
Test if the iterator is done.
|
void |
next()
Move the iterator along by one point.
|
public PolylineIterator(Polyline2D pl, AffineTransform at)
public int currentSegment(double[] coords)
currentSegment
in interface PathIterator
public int currentSegment(float[] coords)
currentSegment
in interface PathIterator
public int getWindingRule()
getWindingRule
in interface PathIterator
public boolean isDone()
isDone
in interface PathIterator
public void next()
next
in interface PathIterator
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.