Implements a 2-dimensional point with double precision coordinates.
| mxPoint | Implements a 2-dimensional point with double precision coordinates. |
| Variables | |
| x | Holds the x-coordinate of the point. |
| y | Holds the y-coordinate of the point. |
| Functions | |
| mxPoint | Constructs a new point for the optional x and y coordinates. |
| equals | Returns true if the given object equals this point. |
| copy | Returns a copy of this mxPoint. |
function copy()
Returns a copy of this mxPoint.
Holds the x-coordinate of the point.
var $x
Holds the y-coordinate of the point.
var $y
Constructs a new point for the optional x and y coordinates.
function mxPoint( $x = 0, $y = 0 )
Returns true if the given object equals this point.
function equals( $obj )
Returns a copy of this mxPoint.
function copy()