Located in compilation unit of com.
Modifier and Type | Field and Description |
---|---|
private Vector | |
private int | |
private Curve | |
private Curve | |
private BaseTransform |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public int | currentSegment(float[]
an array that holds the data returned from
this method coords)Implements com. Returns the coordinates and type of the current path segment in the iteration. |
public int | getWindingRule()
Implements com. Returns the winding rule for determining the interior of the path. |
public boolean | |
public void | next()
Implements com. 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. |
curves | back to summary |
---|---|
private Vector<E> curves |
index | back to summary |
---|---|
private int index |
prevcurve | back to summary |
---|---|
private Curve prevcurve |
thiscurve | back to summary |
---|---|
private Curve thiscurve |
transform | back to summary |
---|---|
private BaseTransform transform |
AreaIterator | back to summary |
---|---|
public AreaIterator(Vector<E> curves, BaseTransform tx) |
currentSegment | back to summary |
---|---|
public int currentSegment(float[] coords) Implements com. Doc from com. 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() Implements com. Doc from com. Returns the winding rule for determining the interior of the path.
|
isDone | back to summary |
---|---|
public boolean isDone() Implements com. Doc from com. Tests if the iteration is complete.
|
next | back to summary |
---|---|
public void next() Implements com. Doc from com. 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.
|