Maker.js, a Microsoft Garage project, is a JavaScript library for creating and sharing modular line drawings for CNC and laser cutters.

View project on GitHub Star

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

  • IPoint

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

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc