Constructor and Description |
---|
Point()
Creates an empty object
|
Modifier and Type | Method and Description |
---|---|
int |
getX()
Returns the X coordinate of the point.
|
int |
getY()
Returns the Y coordinate of the point.
|
void |
setX(int x)
Sets the X coordinate of the point.
|
void |
setY(int y)
Sets the Y coordinate of the point.
|
@JsProperty(name="x") public void setX(int x)
x
- the X coordinate of the point.@JsProperty(name="x") public int getX()
@JsProperty(name="y") public void setY(int y)
y
- the Y coordinate of the point.@JsProperty(name="y") public int getY()