Reference
@ledable/sdk/fonts
The bitmap fonts, and loading them.
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: AssetRefHOMEVIDEO
const ref: AssetRefJ7X5
const ref: AssetRefMODERNDOS
const ref: AssetRefNOKIA
const ref: AssetRefNOPE
const ref: AssetRefPIXOLLETTA
const ref: AssetRefSINS
const ref: AssetRefTINY
const ref: AssetRef