Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Point

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

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

Properties

x

x: number

The x coordinate.

property

x

type

Number

y

y: number

The y coordinate.

property

y

type

Number

Methods

clone

  • Returns Point

copy

  • Parameters

    Returns void

equals

  • Parameters

    Returns boolean

set

  • set(x?: number, y?: number): void
  • Parameters

    • Optional x: number
    • Optional y: number

    Returns void

Generated using TypeDoc