pivot.wtk
Class Point
java.lang.Object
pivot.wtk.Point
public class Point
- extends java.lang.Object
Class representing the location of an object.
- Author:
- gbrown
Field Summary |
int |
x
|
static java.lang.String |
X_KEY
|
int |
y
|
static java.lang.String |
Y_KEY
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public int x
y
public int y
X_KEY
public static final java.lang.String X_KEY
- See Also:
- Constant Field Values
Y_KEY
public static final java.lang.String Y_KEY
- See Also:
- Constant Field Values
Point
public Point()
Point
public Point(Dictionary<java.lang.String,?> point)
Point
public Point(int x,
int y)
Point
public Point(Point point)
translate
public void translate(int dx,
int dy)
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object