mxPoint

Implements a 2-dimensional vector with double precision coordinates.

Summary
mxPointImplements a 2-dimensional vector with double precision coordinates.
Functions
mxPointConstructs a new point for the optional x and y coordinates.
Variables
xHolds the x-coordinate of the point.
yHolds the y-coordinate of the point.
Functions
equalsReturns true if the given object equals this rectangle.
cloneReturns a clone of this mxPoint.

Functions

mxPoint

function mxPoint(x,
y)

Constructs a new point for the optional x and y coordinates.  If no coordinates are given, then the default values for x and y are used.

Variables

x

mxPoint.prototype.x

Holds the x-coordinate of the point.  Default is 0.

y

mxPoint.prototype.y

Holds the y-coordinate of the point.  Default is 0.

Functions

equals

mxPoint.prototype.equals = function(obj)

Returns true if the given object equals this rectangle.

clone

mxPoint.prototype.clone = function()

Returns a clone of this mxPoint.

function mxPoint(x,
y)
Constructs a new point for the optional x and y coordinates.
mxPoint.prototype.x
Holds the x-coordinate of the point.
mxPoint.prototype.y
Holds the y-coordinate of the point.
mxPoint.prototype.equals = function(obj)
Returns true if the given object equals this rectangle.
mxPoint.prototype.clone = function()
Returns a clone of this mxPoint.
Close