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 - IPathDirectional Interface

A path that may be indicated to "flow" in either direction between its endpoints.

Hierarchy

Index

Properties

endPoints

endPoints: IPoint[]

The endpoints of the path.

Optional layer

layer: string

Optional layer of this path.

origin

origin: IPoint

The main point of reference for this path.

Optional reversed

reversed: boolean

Path flows forwards or reverse.

type

type: string

The type of the path, e.g. "line", "circle", or "arc". These strings are enumerated in pathType.

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