API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classBmFont
@codexo/exojs / rendering / stable
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(Asset.type('bmFont', 'fonts/ui.fnt')); const label = new BitmapText('Score: 0', font); ```
2
props
0
methods
0
events
Import
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(Asset.type('bmFont', 'fonts/ui.fnt')); const label = new BitmapText('Score: 0', font); ```
Constructors1
Properties2
Source