| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private float[] | |
| private PathIterator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the path-segment type of the current path segment.Returns the coordinates and type of the current path segment in the iteration. |
| public int | |
| public boolean | Returns: true if all the segments have
been read; false otherwise.Tests if the iteration is complete. |
| public void | next()
Moves the iterator to the next segment of the path forwards along the primary direction of traversal as long as there are more points in that direction. |
| PathIteratorHelper | back to summary |
|---|---|
| public PathIteratorHelper(PathIterator itr) | |
| currentSegment | back to summary |
|---|---|
| public int currentSegment(PathIteratorHelper. Returns the coordinates and type of the current path segment in the iteration. The return value is the path-segment type: SEG_MOVETO, SEG_LINETO, SEG_QUADTO, SEG_CUBICTO, or SEG_CLOSE. A float array of length 6 must be passed in and can be used to store the coordinates of the point(s). Each point is stored as a pair of float x,y coordinates. SEG_MOVETO and SEG_LINETO types returns one point, SEG_QUADTO returns two points, SEG_CUBICTO returns 3 points and SEG_CLOSE does not return any points.
| |
| getWindingRule | back to summary |
|---|---|
| public int getWindingRule() Returns the winding rule for determining the interior of the path. | |
| isDone | back to summary |
|---|---|
| public boolean isDone() Tests if the iteration is complete.
| |
| next | back to summary |
|---|---|
| public void next() Moves the iterator to the next segment of the path forwards along the primary direction of traversal as long as there are more points in that direction. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv float | |
| pack-priv float | |
| pack-priv float | |
| pack-priv float | |
| pack-priv float | |
| pack-priv float |
| Access | Constructor and Description |
|---|---|
| public |
| f0 | back to summary |
|---|---|
| pack-priv float f0 | |
| f1 | back to summary |
|---|---|
| pack-priv float f1 | |
| f2 | back to summary |
|---|---|
| pack-priv float f2 | |
| f3 | back to summary |
|---|---|
| pack-priv float f3 | |
| f4 | back to summary |
|---|---|
| pack-priv float f4 | |
| f5 | back to summary |
|---|---|
| pack-priv float f5 | |
| Struct | back to summary |
|---|---|
| public Struct() | |