Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Point

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Point(x: number, y: number): Point
  • Parameters

    • x: number
    • y: number

    Returns Point

Properties

x

x: number

The X coordinate

y

y: number

The Y coordinate

Methods

equals

  • equals(other: null | Point): boolean
  • Compares two Points

    Parameters

    Returns boolean

toString

  • toString(): string
  • Returns a string representation of this Point.

    Returns string

Generated using TypeDoc