SvgExportContext

See source code
Table of contents
interface SvgExportContext {}

Properties

isDarkMode

readonly

Whether the export should be in dark mode.

readonly isDarkMode: boolean

Methods

addExportDef

Add contents to the <defs> section of the export SVG. Each export def should have a unique key. If multiple defs come with the same key, only one will be added.

Parameters

NameDescription

def

Returns

void

Prev
SnapData
Next
SvgExportDef