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

FontAdvanceTable

可选的独立码点宽度表,测量完全在 Native 中执行。

此表支持字距,不计算字偶距或整形;上下文整形使用宽度回调。

interface FontAdvanceTable {
    advances: Int32Array;
    fallbackAdvance: number;
    firstCharacter: number;
}
源码与继承
成员目录3

属性

属性

advances: Int32Array

复制一次的固定 int32 源。

源码与继承
fallbackAdvance: number

未映射码点宽度。

源码与继承
firstCharacter: number

首个码点。

源码与继承

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