API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classBmFont
A loaded BMFont asset: the parsed descriptor plus all page textures. Loaded by the built-in BMFont factory — no extra setup required. Pass directly to BitmapText. ```ts const font = await loader.load('fonts/ui.fnt'); // BmFont via extension const font = await loader.load(BmFont, 'fonts/ui.fnt'); // explicit token const label = new BitmapText('Score: 0', font); ```
import { BmFont } from '@codexo/exojs' A loaded BMFont asset: the parsed descriptor plus all page textures.
Loaded by the built-in BMFont factory — no extra setup required. Pass directly to BitmapText.
```ts const font = await loader.load('fonts/ui.fnt'); // BmFont via extension const font = await loader.load(BmFont, 'fonts/ui.fnt'); // explicit token const label = new BitmapText('Score: 0', font); ```
new(fontData: BmFontData, textures: readonly Texture[]): BmFont fontData: BmFontData textures: readonly Texture[]