Skip to content

textmode.export.js / TextmodeExportAPI / saveSVG

Method: saveSVG()

ts
saveSVG(options?): void;

Downloads the selected layer as an SVG file.

Parameters

ParameterTypeDescription
options?SVGExportOptionsExport options.

Returns

void

Example

ts
t.saveSVG({ filename: 'poster', layer: t.layers.base, includeBackgroundRectangles: true });