Commands, settings, SDK functions, anything in the docs.

Reference

@ledable/sdk/fonts

The bitmap fonts, and loading them.

On this page

Generated from the types of the SDK. Import from @ledable/sdk/fonts; an editor shows the same declarations and comments as you type.

Functions

loadFont

function loadFont(assets: AppAssets, ref: AssetRef): Promise<BitmapFont>

loadFonts

Load several fonts at once; the result keeps the caller's keys.

async function loadFonts<const T extends Readonly<Record<string, AssetRef>>>(
  assets: AppAssets,
  refs: T,
): Promise<{ readonly [K in keyof T]: BitmapFont }>

Constants

FUSION

const ref: AssetRef

HOMEVIDEO

const ref: AssetRef

J7X5

const ref: AssetRef

MODERNDOS

const ref: AssetRef

NOKIA

const ref: AssetRef

NOPE

const ref: AssetRef

PIXOLLETTA

const ref: AssetRef

SINS

const ref: AssetRef

TINY

const ref: AssetRef