Package com.axemble.vdoc.sdk.structs
Class Point
java.lang.Object
com.axemble.vdoc.sdk.structs.Point
Simple structure representing the coordinates of an object.
- Since:
- 2.0, 02/12/2010
- Version:
- 1.0
- Author:
- vlygeros
-
Constructor Summary
ConstructorDescriptionPoint
(int x, int y) Constructs and initializes a point at the specified location in the coordinate space. -
Method Summary
-
Constructor Details
-
Point
public Point(int x, int y) Constructs and initializes a point at the specified location in the coordinate space.- Parameters:
x
- the X coordinate of the newly constructedPoint
.y
- the Y coordinate of the newly constructedPoint
.
-
-
Method Details
-
setX
public void setX(int x) Sets the X coordinate.- Parameters:
x
- The new X coordinate to set.
-
getX
public int getX()Gets the X coordinate.- Returns:
- An integer value.
-
setY
public void setY(int y) Sets the Y coordinate.- Parameters:
y
- The new Y coordinate to set.
-
getY
public int getY()Gets the Y coordinate.- Returns:
- An integer value.
-