com.extjs.gxt.ui.client.util
Class Point
java.lang.Object
com.extjs.gxt.ui.client.util.Point
public class Point
- extends java.lang.Object
Instances of this class represent places on the (x, y) coordinate plane.
- See Also:
Rectangle
|
Field Summary |
int |
x
The x coordinate of the point |
int |
y
The y coordinate of the point |
|
Constructor Summary |
Point(int x,
int y)
Constructs a new point with the given x and y coordinates. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public int x
- The x coordinate of the point
y
public int y
- The y coordinate of the point
Point
public Point(int x,
int y)
- Constructs a new point with the given x and y coordinates.
- Parameters:
x - the x coordinate of the new pointy - the y coordinate of the new point
newInstance
public static Point newInstance(double x,
double y)
newInstance
public static Point newInstance(int x,
int y)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object