Api - ISVGRenderOptions Interface
Hierarchy
- IExportOptions
-
ISVGElementRenderOptions
- ISVGRenderOptions
Index
Properties
Optional accuracy
Optional exemplar of number of decimal places.
Optional annotate
Indicate that the id's of paths should be rendered as SVG text elements.
Optional className
SVG class name of the rendered paths.
Optional closingTags
Flag to explicitly close XML tags.
Optional cssStyle
CSS style to apply to elements.
Optional fill
SVG fill color.
Optional fillRule
SVG fill rule.
Optional flow
Options to show direction of path flow.
Optional fontSize
SVG font size and font size units.
Optional layerOptions
SVG options per layer.
Type declaration
-
[layerId: string]: ISVGElementRenderOptions
Optional origin
Rendered reference origin.
Optional scale
Scale of the SVG rendering.
Optional scalingStroke
Flag to remove the "vector-effect: non-scaling-stroke" attribute.
Optional stroke
SVG color of the rendered paths.
Optional strokeLineCap
SVG stroke linecap.
Optional strokeWidth
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.
Optional svgAttrs
Optional attributes to add to the root svg tag.
Optional units
Optional unit system to embed in exported file, if the export format allows alternate unit systems.
Optional useSvgPathOnly
Use SVG < path > elements instead of < line >, < circle > etc.
Optional viewBox
Flag to use SVG viewbox.
Generated using TypeDoc
SVG rendering options.