Class Point

Index

Constructor methods

Properties

Methods

Constructor methods

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

Parameters

  • x?: number optional
  • y?: number optional

Returns

Point

Properties

public x: number

public y: number

Methods

public clone(): Point

Returns

Point

public copy(point: Point): Point

Parameters

Returns

Point

public initialize(x?: number, y?: number): Point

Parameters

  • x?: number optional
  • y?: number optional

Returns

Point

public toString(): string

Returns

string