Returns an iterator object that iterates along the
Shape
boundary and provides
access to the geometry of the
Shape
outline. If an optional
AffineTransformis specified, the coordinates returned in the iteration are transformed
accordingly.
Each call to this method returns a fresh PathIterator
object that traverses
the geometry of the Shape
object independently from any other PathIterator
objects in use at the same time.
It is recommended, but not guaranteed, that objects implementing the Shape
interface isolate iterations that are in process from any changes that might occur to the
original object's geometry during such iterations.
Before using a particular implementation of the Shape
interface in more than
one thread simultaneously, refer to its documentation to verify that it guarantees that
iterations are isolated from modifications.