public final class Point extends NativeObjectContainer
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.
|
checkValue, empty, getArrayValue, getNativeChart, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public void setX(int x)
x
- the X coordinate of the point.public int getX()
public void setY(int y)
y
- the Y coordinate of the point.public int getY()