Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Point

Hierarchy

  • Point

Implements

Index

Constructors

Accessors

Methods

Constructors

constructor

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

    • x: number
    • y: number

    Returns Point

Accessors

x

  • get x(): number
  • Returns number

y

  • get y(): number
  • Returns number

Methods

abs

  • Returns Point

add

  • Parameters

    Returns Point

div

  • Parameters

    Returns Point

floor

  • Returns Point

magnitude

  • magnitude(): number
  • Returns number

mul

  • Parameters

    Returns Point

sub

  • Parameters

    Returns Point

Generated using TypeDoc