API reference
Preparing search index…

PackedFontMeasurement

Native-owned reusable packed measurement workspace.

Active input is snapshotted before the callback. Only widths should be written. Storage is reused by later calls and replaced on growth or detachment; retained old views remain memory-safe after replacement.

interface PackedFontMeasurement {
    bytes: Uint8Array;
    offsets: Uint32Array;
    widths: Int32Array;
}
Source & inheritance
Member directory3

Properties

Properties

bytes: Uint8Array

Packed UTF-8 snapshot; active end is offsets[count].

Source & inheritance
offsets: Uint32Array

Native-owned ordered string boundaries.

Source & inheritance
widths: Int32Array

Native-owned int32 results; write the first count entries.

Source & inheritance

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