API reference

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

C

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('fonts/ui.fnt'); // BmFont via extension const font = await loader.load(BmFont, 'fonts/ui.fnt'); // explicit token 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('fonts/ui.fnt'); // BmFont via extension const font = await loader.load(BmFont, 'fonts/ui.fnt'); // explicit token const label = new BitmapText('Score: 0', font); ```

Constructors 1
new(fontData: BmFontData, textures: readonly Texture[]): BmFont
Properties 2
fontData: BmFontData
textures: readonly Texture[]
Source