loadFreeTypeFont
inline fun AssetManager.loadFreeTypeFont(file: String, setup: FreeTypeFontGenerator.FreeTypeFontParameter.() -> Unit = {}): Asset<BitmapFont>
Allows customizing parameters of a loaded FreeType font.
Return
Asset wrapper which allows to access the font once it is loaded.
Parameters
file
path to the FreeType font file.
setup
should specify font parameters. Will be invoked on a new instance of FreeTypeFontParameter. Inlined.