org.jtgl.core
Class JTGLPoint
java.lang.Object
org.jtgl.core.JTGLPoint
public class JTGLPoint
- extends java.lang.Object
Point primitive
- Author:
- Manuel Polo (manuel_polo at yahoo dot es)
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JTGLPoint
public JTGLPoint()
JTGLPoint
public JTGLPoint(int x,
int y)
- Creates a new instance of JTGLPoint
JTGLPoint
public JTGLPoint(JTGLPoint point)
setLocation
public void setLocation(int x,
int y)
setLocation
public void setLocation(JTGLPoint point)
translate
public void translate(int x,
int y)
getX
public int getX()
getY
public int getY()
copy
public void copy(JTGLPoint from)
getClone
public JTGLPoint getClone()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object