API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceBmFontData
@codexo/exojs / rendering / stable
Parsed representation of a BMFont (.fnt) descriptor.
5
props
0
methods
0
events
Import
import { BmFontData } from '@codexo/exojs'Parsed representation of a BMFont (.fnt) descriptor.
Properties5
base: numberBaseline position from the top of the line in font units.
chars: Map<number, BmFontCharPer-character metrics from a BMFont descriptor.>Code-point → glyph metrics.
kernings: Map<string, number>Kerning pairs - key "${first},${second}", value = pixel adjustment. Negative values pull glyphs together; positive push them apart.
lineHeight: numberFull line height in font units.
pages: string[]Texture file names for each atlas page (relative paths).
Source