Serves as a POINT struct compatible object.

Implements

Constructors

Properties

x y

Constructors

  • Creates a new Point object with the specified coordinates.

    Parameters

    • Optionalpoint: IPoint

      The coordinates of the point. All properties default to 0.

    Returns Point

Properties

x: number

The X coordinate of the point.

y: number

The Y coordinate of the point.