public interface ExtendedPathIterator
ExtendedPathIterator
class represents a geometric path constructed from straight lines, quadratic
and cubic (Bezier) curves and elliptical arcs. This interface is identical to that of PathIterator except it can
return SEG_ARCTO from currentSegment, also the array of values passed to currentSegment must be of length 7 or an
error will be thrown.
This does not extend PathIterator as it would break the interface contract for that class.Modifier and Type | Field and Description |
---|---|
static int |
SEG_ARCTO
The segment type constant for an elliptical arc.
|
static int |
SEG_CLOSE
The segment type constant that specifies that the preceding subpath should be closed by appending a line segment
back to the point corresponding to the most recent SEG_MOVETO.
|
static int |
SEG_CUBICTO
The segment type constant for the set of 3 points that specify a cubic parametric curve to be drawn from the most
recently specified point.
|
static int |
SEG_LINETO
The segment type constant for a point that specifies the end point of a line to be drawn from the most recently
specified point.
|
static int |
SEG_MOVETO
The segment type constant for a point that specifies the end point of a line to be drawn from the most recently
specified point.
|
static int |
SEG_QUADTO
The segment type constant for the pair of points that specify a quadratic parametric curve to be drawn from the
most recently specified point.
|
static int |
WIND_EVEN_ODD
The winding rule constant for specifying an even-odd rule for determining the interior of a path.
|
static int |
WIND_NON_ZERO
The winding rule constant for specifying a non-zero rule for determining the interior of a path.
|
Modifier and Type | Method and Description |
---|---|
int |
currentSegment() |
int |
currentSegment(double[] coords) |
int |
getWindingRule() |
boolean |
isDone() |
void |
next() |
static final int SEG_CLOSE
static final int SEG_MOVETO
static final int SEG_LINETO
static final int SEG_QUADTO
static final int SEG_CUBICTO
static final int SEG_ARCTO
static final int WIND_EVEN_ODD
static final int WIND_NON_ZERO
Copyright © 2016. All Rights Reserved.