API 参考
正在准备搜索索引…

Rml::ElementText::Line 的副本。

interface TextLine {
    position: VariantVector2;
    text: string;
    width: number;
}
源码与继承
成员目录3

属性

属性

position: VariantVector2

相对首行的基线偏移,单位为像素。

源码与继承
text: string

提交给原生字体引擎的内容。

源码与继承
width: number

原生整数宽度,生成几何前初始为零。

源码与继承

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