public final class LineIterator2 extends Object implements PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO| Constructor and Description |
|---|
LineIterator2() |
| Modifier and Type | Method and Description |
|---|---|
int |
currentSegment(double[] coords) |
int |
currentSegment(float[] coords) |
int |
getWindingRule()
Returns the winding rule for determining the interior of the path.
|
void |
init(LineString ls,
AffineTransform at) |
boolean |
isDone()
Tests if the iteration is complete.
|
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.
|
public int currentSegment(float[] coords)
currentSegment in interface PathIteratorPathIterator.currentSegment(float[])public void init(LineString ls,
AffineTransform at)
ls - at - public int getWindingRule()
getWindingRule in interface PathIteratorPathIterator.WIND_EVEN_ODD,
PathIterator.WIND_NON_ZEROpublic boolean isDone()
isDone in interface PathIteratortrue if all the segments have been read; false otherwise.public void next()
next in interface PathIteratorpublic int currentSegment(double[] coords)
currentSegment in interface PathIteratorPathIterator.currentSegment(double[])Copyright © 1996–2019 Geotools. All rights reserved.