Skip to main content

Interface: SvgSize

Defined in: packages/sdvplot/src/export/index.ts:61

An SVG's size, from its width/height attributes or else its viewBox.

Properties​

height​

height: number

Defined in: packages/sdvplot/src/export/index.ts:65

user units: the height attribute, else the viewBox height


viewBox​

viewBox: string

Defined in: packages/sdvplot/src/export/index.ts:67

the root viewBox, else 0 0 width height


width​

width: number

Defined in: packages/sdvplot/src/export/index.ts:63

user units: the width attribute, else the viewBox width