svgDocument
svgDocument(
width,height,paths):string
Defined in: svg/document.ts:17
Assemble styled paths into a standalone SVG document string. Paths with an
empty d are skipped. fill defaults to “none” when only a stroke is given,
otherwise to the provided fill.
Style strings (fill/stroke) are interpolated verbatim and are NOT escaped —
pass trusted CSS color values (e.g. d3-scale output), not untrusted input.
Parameters
Section titled “Parameters”number
height
Section titled “height”number
readonly SvgPath[]
Returns
Section titled “Returns”string