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 SummaryConstructorsConstructorDescriptionPoint(int x, int y) Constructs and initializes a point at the specified location in the coordinate space.
- 
Method Summary
- 
Constructor Details- 
Pointpublic 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 constructed- Point.
- y- the Y coordinate of the newly constructed- Point.
 
 
- 
- 
Method Details- 
setXpublic void setX(int x) Sets the X coordinate.- Parameters:
- x- The new X coordinate to set.
 
- 
getXpublic int getX()Gets the X coordinate.- Returns:
- An integer value.
 
- 
setYpublic void setY(int y) Sets the Y coordinate.- Parameters:
- y- The new Y coordinate to set.
 
- 
getYpublic int getY()Gets the Y coordinate.- Returns:
- An integer value.
 
 
-