com.lowagie.text.pdf.internal
public class PolylineShapeIterator extends Object implements PathIterator
Field Summary | |
---|---|
protected AffineTransform | affine an affine transformation to be performed on the polyline. |
protected int | index the index of the current segment in the iterator. |
protected PolylineShape | poly The polyline over which we are going to iterate. |
Constructor Summary | |
---|---|
PolylineShapeIterator(PolylineShape l, AffineTransform at) Creates a PolylineShapeIterator. |
Method Summary | |
---|---|
int | currentSegment(double[] coords)
Returns the coordinates and type of the current path segment in
the iteration. |
int | currentSegment(float[] coords)
Returns the coordinates and type of the current path segment in
the iteration. |
int | getWindingRule()
Return the winding rule for determining the insideness of the
path. |
boolean | isDone()
Tests if there are more points to read. |
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. |
See Also: PolylineShapeIterator PolylineShapeIterator PolylineShapeIterator PolylineShapeIterator PolylineShapeIterator java.awt.geom.PathIterator#currentSegment(double[])
See Also: PolylineShapeIterator PolylineShapeIterator PolylineShapeIterator PolylineShapeIterator PolylineShapeIterator java.awt.geom.PathIterator#currentSegment(float[])
See Also: PolylineShapeIterator PolylineShapeIterator java.awt.geom.PathIterator#getWindingRule()
Returns: true if there are more points to read
See Also: java.awt.geom.PathIterator#isDone()
See Also: java.awt.geom.PathIterator#next()