@fabwcie/free-drawing / utils/export / renderSvg
Function: renderSvg()
renderSvg(
shapes,box,options?):string
Defined in: packages/free-drawing/src/utils/export.ts:355
Shapes as svg (vector) image
Parameters
shapes
exported shapes, bottom first (shapes of groups placed as drawn)
box
Exported area (see getExportBox), view box of the image
options?
ImageOptions = {}
background and dark mode colors (scale ignored)
Returns
string
svg document