public interface PathIterator
The primary use is to return the boundaries in a BoundingBox
object.
Rectangle
,
BoundingBox
Modifier and Type | Method and Description |
---|---|
Point |
currentPoint()
Returns the coordinates and type of the current path segment in the iteration.
|
boolean |
hasNext()
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.
|
boolean hasNext()
true
if all the segments have been read; false
otherwisevoid next()
Point currentPoint()