Options for layoutLines

interface LayoutLinesOptions {
    lineHeight?: number;
    maxWidth: number;
}

Hierarchy (view full)

Properties

lineHeight?: number

The height of each line.

Default

fontSize * 1.2
maxWidth: number

Maximum width the text is allowed to use. Lines longer than this will be split.

Generated using TypeDoc