本文へ移動

@eightkk/vue-weave / core / SvgExportOptions

Interface: SvgExportOptions ​

Defined in: src/core/svgExportShared.ts:85

Options shared by the SVG exporters.

Extended by ​

Properties ​

background? ​

optional background?: boolean

Defined in: src/core/svgExportShared.ts:96

Paint an opaque background. Default true.


direction? ​

optional direction?: "ltr" | "rtl"

Defined in: src/core/svgExportShared.ts:100

Text direction of labels. For timelines, rtl also mirrors the time axis and places row headings on the right.


fontFamily? ​

optional fontFamily?: string

Defined in: src/core/svgExportShared.ts:92

CSS font-family list written on the root element.


idPrefix? ​

optional idPrefix?: string

Defined in: src/core/svgExportShared.ts:98

Prefix for the IDs of markers and clip paths, so several exports can be inlined in one page. Default vw-export.


theme? ​

optional theme?: SvgExportThemeInput

Defined in: src/core/svgExportShared.ts:90

Colours; omitted values use defaultSvgExportTheme. Each is a CSS colour value (hex, a colour name or keyword, or one of the colour functions such as rgb(), color-mix() or var()); anything else throws a RangeError.


title? ​

optional title?: string

Defined in: src/core/svgExportShared.ts:94

Document title, written as <title> and the accessible name.

MIT ライセンスで公開しています。