Interface: SVGExportOptions
Defined in: utils/export/SVGExporter.ts:11
Options for SVG export.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
drawMode? | "fill" | "stroke" | "text" | The drawing mode for ASCII characters ('fill', 'stroke', or 'text'). When set to 'fill', characters are rendered as filled shapes. When set to 'stroke', characters are rendered as outlines. When set to 'text', characters are rendered as text elements using 'monospaced' font. Default is 'fill'. | utils/export/SVGExporter.ts:31 |
filename? | string | The filename to save the SVG file as. If not provided, a default filename is used. | utils/export/SVGExporter.ts:15 |
includeBackgroundRectangles? | boolean | Whether to include cell background rectangles in the SVG output. When false, only the character paths are included, creating a more compact SVG. Default is true. | utils/export/SVGExporter.ts:22 |
strokeWidth? | number | The stroke width to use when drawMode is set to 'stroke'. Default is 1.0. | utils/export/SVGExporter.ts:37 |