Package gaiasky.util.gdx.loader
Class BitmapFontLoader.BitmapFontParameter
java.lang.Object
com.badlogic.gdx.assets.AssetLoaderParameters<BitmapFont>
gaiasky.util.gdx.loader.BitmapFontLoader.BitmapFontParameter
- Enclosing class:
- BitmapFontLoader
public static class BitmapFontLoader.BitmapFontParameter extends com.badlogic.gdx.assets.AssetLoaderParameters<BitmapFont>
Parameter to be passed to
AssetManager.load(String, Class, AssetLoaderParameters) if additional configuration is
necessary for the BitmapFont.-
Nested Class Summary
Nested classes/interfaces inherited from class com.badlogic.gdx.assets.AssetLoaderParameters
com.badlogic.gdx.assets.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.com.badlogic.gdx.graphics.Texture.TextureFiltermagFilterTheTexture.TextureFilterto use when scaling up theBitmapFont.com.badlogic.gdx.graphics.Texture.TextureFilterminFilterTheTexture.TextureFilterto use when scaling down theBitmapFont.Fields inherited from class com.badlogic.gdx.assets.AssetLoaderParameters
loadedCallback -
Constructor Summary
Constructors Constructor Description BitmapFontParameter() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
flip
public boolean flipFlips the font vertically iftrue. Defaults tofalse. -
genMipMaps
public boolean genMipMapsGenerates mipmaps for the font iftrue. Defaults tofalse. -
minFilter
public com.badlogic.gdx.graphics.Texture.TextureFilter minFilterTheTexture.TextureFilterto use when scaling down theBitmapFont. Defaults toTexture.TextureFilter.Nearest. -
magFilter
public com.badlogic.gdx.graphics.Texture.TextureFilter magFilterTheTexture.TextureFilterto use when scaling up theBitmapFont. Defaults toTexture.TextureFilter.Nearest. -
bitmapFontData
optionalBitmapFont.BitmapFontDatato be used instead of loading theTexturedirectly. Use this if your font is embedded in aSkin. -
atlasName
public java.lang.String atlasNameThe name of theTextureAtlasto load theBitmapFontitself from. Optional; ifnull, will look for a separate image
-
-
Constructor Details
-
BitmapFontParameter
public BitmapFontParameter()
-