Constructors
constructor
- new Point(x?, y?): Point
Parameters
- x: number = 0
- y: number = 0
Properties
Accessors
x
- get x(): number
Returns number
- set x(x): void
Returns void
y
- get y(): number
Returns number
- set y(y): void
Returns void
Methods
equals
- equals(p): boolean
Returns boolean
Implements a 2-dimensional vector with double precision coordinates.
Constructor: mxPoint
Constructs a new point for the optional x and y coordinates. If no coordinates are given, then the default values for and are used.