Class Point

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(x: number, y: number): Point

Parameters

  • x: number
  • y: number

Returns

Point

Properties

public x: number

public y: number

Methods

public equals(other: Point): boolean

Parameters

Returns

boolean

public toString(): string

Returns

string