|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ExtendedPathIterator
class represents a geometric
path constructed from straight lines, quadratic and cubic (Bézier)
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.
Field Summary | |
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. |
Method Summary | |
int |
currentSegment(double[] coords)
|
int |
currentSegment(float[] coords)
|
int |
getWindingRule()
|
boolean |
isDone()
|
void |
next()
|
Field Detail |
public static final int SEG_CLOSE
public static final int SEG_MOVETO
public static final int SEG_LINETO
public static final int SEG_QUADTO
public static final int SEG_CUBICTO
public static final int SEG_ARCTO
public static final int WIND_EVEN_ODD
public static final int WIND_NON_ZERO
Method Detail |
public int currentSegment(double[] coords)
public int currentSegment(float[] coords)
public int getWindingRule()
public boolean isDone()
public void next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |