ewe.fx
Class Point
java.lang.Object
ewe.fx.Point
- All Implemented Interfaces:
- Encodable
- public class Point
- extends Object
- implements Encodable
|
Field Summary |
int |
x
|
int |
y
|
x
public int x
y
public int y
Point
public Point()
Point
public Point(int xx,
int yy)
move
public void move(int toX,
int toY)
translate
public void translate(int dx,
int dy)
toString
public String toString()
- Description copied from class:
Object
- Return a String representation of this object.
- Overrides:
toString in class Object
- Returns:
- a String representing this object.
set
public Point set(int x,
int y)
set
public Point set(Point r)
set
public Point set(Rect r)
unNull
public static Point unNull(Point r)
equals
public boolean equals(Object other)
- Description copied from class:
Object
- Returns if this object is considered equal to the other object.
- Overrides:
equals in class Object
- Parameters:
other - Another object to compare to.
- Returns:
- true if this object is considered equal to the other object.