Returns the X coordinate of this Point2D in
double precision.
Point2D.
Returns the Y coordinate of this Point2D in
double precision.
Point2D.
Sets the location of this point to the specified double coordinates.
The double values will be rounded to integer values.
Any number smaller than Integer.MIN_VALUE
will be reset to MIN_VALUE, and any number
larger than Integer.MAX_VALUE will be
reset to MAX_VALUE.
x | the X coordinate of the new location | |
y | the Y coordinate of the new location |
getLocation
Diagram: Point