--- layout: posts title: Api - IPoint Interface ---

An x-y point in a two-dimensional space. Implemented as an array with 2 elements. The first element is x, the second element is y.

Examples:

var p: IPoint = [0, 0];   //typescript
var p = [0, 0];   //javascript

Hierarchy

Indexable

[index: number]: number

An x-y point in a two-dimensional space. Implemented as an array with 2 elements. The first element is x, the second element is y.

Examples:

var p: IPoint = [0, 0];   //typescript
var p = [0, 0];   //javascript

Generated using TypeDoc