Skip to main content

Interface: SVGExportOptions

Defined in: utils/SVGExporter.ts:10

Options for SVG export.

Properties

PropertyTypeDescriptionDefined 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/SVGExporter.ts:30
filename?stringThe filename to save the SVG file as. If not provided, a default filename is used.utils/SVGExporter.ts:14
includeBackgroundRectangles?booleanWhether 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/SVGExporter.ts:21
strokeWidth?numberThe stroke width to use when drawMode is set to 'stroke'. Default is 1.0.utils/SVGExporter.ts:36