|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Path Iterator Interface.
Field Summary | |
static int |
SEG_CLOSE
The segment type "CLOSE". |
static int |
SEG_CUBICTO
The segment type "CUBICTO". |
static int |
SEG_LINETO
The segment type "LINETO". |
static int |
SEG_MOVETO
The segment type "MOVETO". |
static int |
SEG_QUADTO
The segment type "QUADTO". |
static int |
WIND_EVEN_ODD
Even-odd winding rule. |
static int |
WIND_NON_ZERO
Non-zero winding rule. |
Method Summary | |
int |
currentSegment(int[] coords)
Returns the coordinates and type of the current path segment. |
int |
getWindingRule()
Returns the winding rule. |
boolean |
isDone()
Returns true if the iteration is complete. |
void |
next()
Moves the iterator to the next segment of the path. |
Field Detail |
public static final int WIND_EVEN_ODD
public static final int WIND_NON_ZERO
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_CLOSE
Method Detail |
public int getWindingRule()
public boolean isDone()
public void next()
public int currentSegment(int[] coords)
coords
- an array of length 6 that can be used to store the
coordinates of the points
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |