
String - SVG fill-rule (default: "evenodd") true - Adds SVG elements with the path id.Number - Exemplar number of decimal digits (default. You may override the default export behavior by calling (model, options) and passing an options object. You will not be able to use SVG fill in any satisfactory way. Lines will export as an SVG element, circles will export as an SVG element, and arcs will export as an SVG element.Ĭhild models will become nested elements. In Separate mode, every model in your heirarchy is exported as an SVG element containing that model's paths, each exported as an individual SVG element. If your drawing contained any closed geometries from endless chains, you will be able to use SVG fill on these shapes. This SVG element will contain all of your model's path data. (If you do not specify layers then you have one "null" layer).

In Path-only mode, the SVG structure will have only one SVG element per layer. There are two main modes of SVG export: Path-only mode and Separate mode.

In addition, a caption will inherit the layerOptions that are applied to its model's layer name unless overridden by the anchor layer. This layer name may be used to apply layerOptions that are common to all captions.

Paths on that layer will have a stroke color automatically:Īqua, black, blue, fuchsia, green, gray, lime, maroon, navy, olive, orange, purple, red, silver, teal, white, yellowĬaptions are added to an SVG group with a layer name of "captions". If your drawing has layers with names that match the following reserved color names,
