Class ShapePointIterator

java.lang.Object
imagingbook.common.geometry.shape.ShapePointIterator
All Implemented Interfaces:
Iterator<Pnt2d>

public class ShapePointIterator extends Object implements Iterator<Pnt2d>
A small wrapper class to create a simple Iterator of Pnt2d to step over the individual points of a AWT Shape object. Curved shapes are flattened by a FlatteningPathIterator.
See Also: