Static
basedA method to create a font as an extension of an already defined font.
Static
ofA method to create a font from scratch.
A list of sprite sheets gathered from the all sprite glyphs defined for this font.
Useful for defining the assets to fetch in BeetPx.start
The main methods of the font, which iterates of the text segments (characters, but with a support for multi-char emojis, e.g. "❤️"), and arranges their corresponding glyphs in a virtual visual space.
The resulting array of BpxArrangedGlyph is further used by BeetPxDraw.measureText for a headless text rendering and by BeetPxDraw.text for an actual text rendering.
You rather doesn't have to use this method directly.
Optional
colorMarkers: BpxTextColorMarkers
An instance of a font, defined with use of BpxFontConfig.
See
https://github.com/beetrootpaul/beetpx-examples/tree/main/fonts