API reference
Preparing search index…

GeneratedTextLine

Copied outputs from Rml::ElementText::GenerateLine.

interface GeneratedTextLine {
    line: string;
    lineLength: number;
    lineWidth: number;
    reachedEnd: boolean;
}
Source & inheritance
Member directory4

Properties

Properties

line: string

Formatted line after whitespace processing and optional entity decoding.

Source & inheritance
lineLength: number

Consumed source UTF-8 bytes, not code points or JavaScript string length.

Source & inheritance
lineWidth: number

Measured width in pixels.

Source & inheritance
reachedEnd: boolean

Native result; true at end or when no font face is available.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0