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

Text annotation, diplayable natively to the output format.


  • ICaption





anchor: IPathLine

Invisible line to which the text is aligned. The text will be horizontally and vertically centered on the center point of this line. The text may be longer or shorter than the line, it is used only for position and angle. The anchor line's endpoints may be omitted, in which the case the text will always remain non-angled, even if the model is rotated.


text: string

Caption text.


  • 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