public class InterpolatedCurveIterator extends Object implements PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
Constructor and Description |
---|
InterpolatedCurveIterator(InterpolatedCurve2D curve,
AffineTransform at)
Create an iterator for the given InterpolatedCurve2D.
|
Modifier and Type | Method and Description |
---|---|
int |
currentSegment(double[] coords) |
int |
currentSegment(float[] coords) |
int |
getWindingRule() |
boolean |
isDone()
Test if the iterator is done.
|
void |
next()
Move the iterator along by one point.
|
public InterpolatedCurveIterator(InterpolatedCurve2D curve, AffineTransform at)
curve
- the InterpolatedCurve2D instance to iterate over.at
- a transform to apply to the InterpolatedCurve2D vertices.
If null then an identity transform will be used.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.