Package uk.ac.starlink.ttools.plot2
Interface Pixer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getX()
Returns the X coordinate of the current point.int
getY()
Returns the Y coordinate of the current point.boolean
next()
Advances to the next point to be dispensed by this iterator.
-
-
-
Method Detail
-
next
boolean next()
Advances to the next point to be dispensed by this iterator. Must be called before any calls to getX/getY.- Returns:
- true iff there is another point
-
getX
int getX()
Returns the X coordinate of the current point.- Returns:
- X coordinate
-
getY
int getY()
Returns the Y coordinate of the current point.- Returns:
- Y coordinate
-
-