public static class CurvedPolyline.CurvedPolylineIterator extends Objectimplements PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO| Constructor and Description |
|---|
CurvedPolylineIterator(Point2D
|
| Modifier and Type | Method and Description |
|---|---|
int |
currentSegment(double[] coords)
|
int |
currentSegment(float[] coords)
|
int |
getWindingRule()
|
boolean |
isDone()
|
void |
next()
|
public CurvedPolylineIterator(Point2D[] array, int windingRule, AffineTransform tx)
array - an array of points to create this shape from.
windingRule - one of the winding constants (PathIterator.WIND_NONZERO or PathIterator.WIND_EVEN_ODD)
tx - an optional AffineTransform to transform this data (may be null).