AdvancedStatic ReadonlyALPHAThis character set includes all the letters in the alphabet (both lower- and upper- case).
Static ReadonlyALPHANUMERICThis character set is the union of BitmapFont.ALPHA and BitmapFont.NUMERIC.
Static ReadonlyASCIIThis character set consists of all the ASCII table.
StaticdefaultDefault options for installing a new BitmapFont.
Static ReadonlymeasureCache for measured text layouts to avoid recalculating them multiple times.
Static ReadonlyNUMERICThis character set includes all decimal digits (from 0 to 9).
StaticgetGet a font for the specified text and style.
The text to get the font for
The style to use
StaticgetGet the layout of a text for the specified style.
The text to get the layout for
The style to use
Whether to ignore whitespaces at the end of each line
StaticinstallGenerates a bitmap-font for the given style and character set
Setup options for font generation.
Font generated by style options.
Optionalstyle: TextStyle | TextStyleOptionsOptionaloptions: BitmapFontInstallOptionsStaticmeasureMeasure the text using the specified style.
The text to measure
The style to use
Whether to ignore whitespaces at the end of each line
StaticuninstallUninstalls a bitmap font from the cache.
The name of the bitmap font to uninstall.
The BitmapFontManager is a helper that exists to install and uninstall fonts into the cache for BitmapText objects.
Example