org.gnu.gdk
Class Point
Represents a point with x and y coordinates.
Point() - Construct an empty point
|
Point(int x, int y) - Construct a Point providing the x and y coordinates.
|
int | getX() - Retrieve the x coordinate for the Point.
|
int | getY() - Retrieve the y coordinate for the Point.
|
void | setX(int x) - Set the x coordinate for the Point.
|
void | setY(int y) - Set the y coordinate for the Point.
|
Point
public Point()
Construct an empty point
Point
public Point(int x,
int y)
Construct a Point providing the x and y coordinates.
getX
public int getX()
Retrieve the x coordinate for the Point.
getY
public int getY()
Retrieve the y coordinate for the Point.
setX
public void setX(int x)
Set the x coordinate for the Point.
setY
public void setY(int y)
Set the y coordinate for the Point.