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.

Hierarchy (view full)

Constructors

Properties

Accessors

x y

Methods

Constructors

Properties

_x: number = 0

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

_y: number = 0

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

Accessors

Methods