Package eu.webtoolkit.jwt
Class WPoint
java.lang.Object
eu.webtoolkit.jwt.WPoint
A value class that defines a 2D point with integer coordinates.
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
WPoint
public WPoint()Creates a point (0, 0). -
WPoint
public WPoint(int x, int y) Creates a point (x, y).
-
-
Method Details
-
setX
public void setX(int x) Sets the X coordinate. -
setY
public void setY(int y) Sets the Y coordinate. -
getX
public int getX()Returns the X coordinate. -
getY
public int getY()Returns the Y coordinate. -
equals
Indicates whether some other object is "equal to" this one.
-