textmode.export.js / SVGExportOptions
Type Alias: SVGExportOptions
ts
type SVGExportOptions = LayerExportOptions & object;Options for exporting the textmode content to SVG format.
Type Declaration
| Name | Type | Description |
|---|---|---|
filename? | string | The filename to save the SVG file as. If not provided, a default filename is used. |
includeBackgroundRectangles? | boolean | Whether to include cell background rectangles in the SVG output. When false, only the character paths are included. Defaults to true. |
drawMode? | "fill" | "stroke" | The drawing mode for ASCII characters. When set to 'fill', characters are rendered as filled shapes. When set to 'stroke', characters are rendered as outlines. Defaults to 'fill'. |
strokeWidth? | number | The stroke width to use when drawMode is set to 'stroke'. Defaults to 1.0. |