interface AcDbLinetypePreviewSvgOptions {
    fontFamily?: string;
    height?: number;
    padding?: number;
    repeats?: number;
    stroke?: string;
    strokeWidth?: number;
    textFill?: string;
    width?: number;
}

Properties

fontFamily?: string

Font family for embedded text.

'sans-serif'
height?: number

Height of preview SVG.

36
padding?: number

Left/right horizontal padding in pixels.

8
repeats?: number

How many pattern cycles to display in preview width.

4
stroke?: string

Stroke color.

'currentColor'
strokeWidth?: number

Stroke width in pixels.

2
textFill?: string

Fill color for embedded text. Defaults to stroke.

width?: number

Width of preview SVG.

220