Example usage for Java java.awt.geom FlatteningPathIterator fields, constructors, methods, implement or subclass
The text is from its open source code.
FlatteningPathIterator(PathIterator src, double flatness) Constructs a new FlatteningPathIterator object that flattens a path as it iterates over it. |
int | currentSegment(float[] coords) Returns the coordinates and type of the current path segment in the iteration. |
int | currentSegment(double[] coords) Returns the coordinates and type of the current path segment in the iteration. |
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. |