SvgExportContext
See source codeTable 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
Name | Description |
---|---|
|
Returns
void
Prev
SnapDataNext
SvgExportDef