org.mars_sim.msp.core
Class IntPoint
java.lang.Object
java.awt.geom.Point2D
java.awt.Point
org.mars_sim.msp.core.IntPoint
- All Implemented Interfaces:
- Serializable, Cloneable
public final class IntPoint
- extends Point
The IntPoint class is an extension of
java.awt.Point that returns int typed
X and Y coordinates.
- See Also:
- Serialized Form
| Fields inherited from class java.awt.Point |
x, y |
|
Constructor Summary |
IntPoint(int x,
int y)
Construct an IntPoint object |
|
Method Summary |
int |
getiX()
Returns the X coordinate of the point as int. |
int |
getiY()
Returns the Y coordinate of the point as int. |
IntPoint
public IntPoint(int x,
int y)
- Construct an IntPoint object
getiX
public int getiX()
- Returns the X coordinate of the point as int.
- Returns:
- the X coordinate of the point as int
getiY
public int getiY()
- Returns the Y coordinate of the point as int.
- Returns:
- the Y coordinate of the point as int
Copyright © 2009-2013. All Rights Reserved.