Table of contents
interface SvgExportContext {}

Properties

isDarkMode

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

SvgExportDef
Returns
void

SnapDataSvgExportDef