API reference
Preparing search index…

Copy of Rml::ElementText::Line.

interface TextLine {
    position: VariantVector2;
    text: string;
    width: number;
}
Source & inheritance
Member directory3

Properties

Properties

position: VariantVector2

Baseline offset from the first line, in pixels.

Source & inheritance
text: string

Contents submitted to the native font engine.

Source & inheritance
width: number

Native integer width, initially zero until geometry generation.

Source & inheritance

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