textmode.export.js / TextmodeExportAPI / saveSVG
Method: saveSVG()
ts
saveSVG(options?): void;Downloads the selected layer as an SVG file.
Parameters
| Parameter | Type | Description |
|---|---|---|
options? | SVGExportOptions | Export options. |
Returns
void
Example
ts
t.saveSVG({ filename: 'poster', layer: t.layers.base, includeBackgroundRectangles: true });