Package com.badlogic.gdx.assets.loaders
Class BitmapFontLoader.BitmapFontParameter
- java.lang.Object
-
- com.badlogic.gdx.assets.AssetLoaderParameters<BitmapFont>
-
- com.badlogic.gdx.assets.loaders.BitmapFontLoader.BitmapFontParameter
-
- Enclosing class:
- BitmapFontLoader
public static class BitmapFontLoader.BitmapFontParameter extends AssetLoaderParameters<BitmapFont>
Parameter to be passed toAssetManager.load(String, Class, AssetLoaderParameters)if additional configuration is necessary for theBitmapFont.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.badlogic.gdx.assets.AssetLoaderParameters
AssetLoaderParameters.LoadedCallback
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringatlasNameThe name of theTextureAtlasto load theBitmapFontitself from.BitmapFont.BitmapFontDatabitmapFontDataoptionalBitmapFont.BitmapFontDatato be used instead of loading theTexturedirectly.booleanflipFlips the font vertically iftrue.booleangenMipMapsGenerates mipmaps for the font iftrue.Texture.TextureFiltermagFilterTheTexture.TextureFilterto use when scaling up theBitmapFont.Texture.TextureFilterminFilterTheTexture.TextureFilterto use when scaling down theBitmapFont.-
Fields inherited from class com.badlogic.gdx.assets.AssetLoaderParameters
loadedCallback
-
-
Constructor Summary
Constructors Constructor Description BitmapFontParameter()
-
-
-
Field Detail
-
flip
public boolean flip
Flips the font vertically iftrue. Defaults tofalse.
-
genMipMaps
public boolean genMipMaps
Generates mipmaps for the font iftrue. Defaults tofalse.
-
minFilter
public Texture.TextureFilter minFilter
TheTexture.TextureFilterto use when scaling down theBitmapFont. Defaults toTexture.TextureFilter.Nearest.
-
magFilter
public Texture.TextureFilter magFilter
TheTexture.TextureFilterto use when scaling up theBitmapFont. Defaults toTexture.TextureFilter.Nearest.
-
bitmapFontData
public BitmapFont.BitmapFontData bitmapFontData
optionalBitmapFont.BitmapFontDatato be used instead of loading theTexturedirectly. Use this if your font is embedded in aSkin.
-
atlasName
public java.lang.String atlasName
The name of theTextureAtlasto load theBitmapFontitself from. Optional; ifnull, will look for a separate image
-
-