API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

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: number
page: number
Atlas page this character lives on.
width: number
x: number
xAdvance: number
Cursor advance after this character.
xOffset: number
Horizontal draw offset from the cursor to the glyph's left edge.
y: number
yOffset: number
Vertical draw offset from the line top to the glyph's top edge.
Source