public class Point extends RefDataClass
id
factoryCreated, factoryProperties
Constructor and Description |
---|
Point() |
Point(double x,
double y) |
Point(int x,
int y) |
Point(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
static Point |
getOrCreateRef(JavaScriptObject jsObj) |
int |
getX()
The x coordinate of this point.
|
double |
getXAsDouble()
The x coordinate of this point.
|
int |
getY()
The y coordinate of this point.
|
double |
getYAsDouble()
The y coordinate of this point.
|
getRef, getRef, internalSetID
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public Point()
public Point(JavaScriptObject jsObj)
public Point(int x, int y)
public Point(double x, double y)
public static Point getOrCreateRef(JavaScriptObject jsObj)
public int getX()
public double getXAsDouble()
public int getY()
public double getYAsDouble()