API reference

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

I

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: number
Baseline position from the top of the line in font units.
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: number
Full line height in font units.
pages: string[]
Texture file names for each atlas page (relative paths).
Source