Coordinate class

Defines a coordinate in 2D space.

Constructors

Coordinate(number, number)

Properties

x
y

Constructor Details

Coordinate(number, number)

new Coordinate(x: number, y: number)

Parameters

x

number

y

number

Property Details

x

x: number

Property Value

number

y

y: number

Property Value

number