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

SVG Path Data rendering options.

Hierarchy

  • IExportOptions
    • ISVGPathDataRenderOptions

Index

Properties

Optional accuracy

accuracy: number

Optional exemplar of number of decimal places.

Optional byLayers

byLayers: boolean

Optional boolean flag to return a map of path data by layer.

Optional fillRule

fillRule: "nonzero" | "evenodd"

SVG fill-rule.

Optional origin

origin: IPoint

Optional origin. Default x = 0, y = topmost y point in the model. Use [0, 0] to use the same origin as Maker.js, which will translate to negative Y values in SVG.

Optional units

units: string

Optional unit system to embed in exported file, if the export format allows alternate unit systems.

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