API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceBmFontChar
@codexo/exojs / rendering / stable
Per-character metrics from a BMFont descriptor.
8
props
0
methods
0
events
Import
import { BmFontChar } from '@codexo/exojs'Per-character metrics from a BMFont descriptor.
Properties8
height: numberpage: numberAtlas page this character lives on.
width: numberx: numberxAdvance: numberCursor advance after this character.
xOffset: numberHorizontal draw offset from the cursor to the glyph's left edge.
y: numberyOffset: numberVertical draw offset from the line top to the glyph's top edge.
Source