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

SVG rendering options.




Optional className

className: string

SVG class name of the rendered paths.

Optional cssStyle

cssStyle: string

CSS style to apply to elements.

Optional fill

fill: string

SVG fill color.

Optional stroke

stroke: string

SVG color of the rendered paths.

Optional strokeWidth

strokeWidth: string

SVG stroke width of paths. This may have a unit type suffix, if not, the value will be in the same unit system as the units property.


  • 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