public class Point extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
Point()
A point on a two-dimensional plane.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Point other)
Compares two Points
|
String |
getToString()
Returns a string representation of this Point.
|
double |
getX()
get X coordinate
|
double |
getY()
get Y coordinate
|
static Point |
newInstance(double x,
double y)
creates A point on a two-dimensional plane.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final Point newInstance(double x, double y)
x
- y
- public final boolean equals(Point other)
other
- public final String getToString()
public final double getX()
public final double getY()
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.