public static class BitmapFontLoader.BitmapFontParameter extends AssetLoaderParameters<BitmapFont>
AssetManager.load(String, Class, AssetLoaderParameters) if additional configuration is
necessary for the BitmapFont.AssetLoaderParameters.LoadedCallback| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
atlasName
The name of the
TextureAtlas to load the BitmapFont itself from. |
BitmapFont.BitmapFontData |
bitmapFontData
optional
BitmapFont.BitmapFontData to be used instead of loading the Texture directly. |
boolean |
flip
Flips the font vertically if
true. |
boolean |
genMipMaps
Generates mipmaps for the font if
true. |
Texture.TextureFilter |
magFilter
The
Texture.TextureFilter to use when scaling up the BitmapFont. |
Texture.TextureFilter |
minFilter
The
Texture.TextureFilter to use when scaling down the BitmapFont. |
loadedCallback| Constructor and Description |
|---|
BitmapFontParameter() |
public boolean flip
true. Defaults to false.public boolean genMipMaps
true. Defaults to false.public Texture.TextureFilter minFilter
Texture.TextureFilter to use when scaling down the BitmapFont. Defaults to Texture.TextureFilter.Nearest.public Texture.TextureFilter magFilter
Texture.TextureFilter to use when scaling up the BitmapFont. Defaults to Texture.TextureFilter.Nearest.public BitmapFont.BitmapFontData bitmapFontData
BitmapFont.BitmapFontData to be used instead of loading the Texture directly. Use this if your font is
embedded in a Skin.public java.lang.String atlasName
TextureAtlas to load the BitmapFont itself from. Optional; if null, will look for
a separate image