Class BitmapFontLoader.BitmapFontParameter
- java.lang.Object
-
- com.badlogic.gdx.assets.AssetLoaderParameters<BitmapFont>
-
- gaia.cu9.ari.gaiaorbit.util.gdx.loader.BitmapFontLoader.BitmapFontParameter
-
- Enclosing class:
- BitmapFontLoader
public static class BitmapFontLoader.BitmapFontParameter extends com.badlogic.gdx.assets.AssetLoaderParameters<BitmapFont>
Parameter to be passed toAssetManager.load(String, Class, AssetLoaderParameters)
if additional configuration is necessary for theBitmapFont
.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
atlasName
The name of theTextureAtlas
to load theBitmapFont
itself from.BitmapFont.BitmapFontData
bitmapFontData
optionalBitmapFont.BitmapFontData
to be used instead of loading theTexture
directly.boolean
flip
Flips the font vertically iftrue
.boolean
genMipMaps
Generates mipmaps for the font iftrue
.com.badlogic.gdx.graphics.Texture.TextureFilter
magFilter
TheTexture.TextureFilter
to use when scaling up theBitmapFont
.com.badlogic.gdx.graphics.Texture.TextureFilter
minFilter
TheTexture.TextureFilter
to use when scaling down theBitmapFont
.
-
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 com.badlogic.gdx.graphics.Texture.TextureFilter minFilter
TheTexture.TextureFilter
to use when scaling down theBitmapFont
. Defaults toTexture.TextureFilter.Nearest
.
-
magFilter
public com.badlogic.gdx.graphics.Texture.TextureFilter magFilter
TheTexture.TextureFilter
to use when scaling up theBitmapFont
. Defaults toTexture.TextureFilter.Nearest
.
-
bitmapFontData
public BitmapFont.BitmapFontData bitmapFontData
optionalBitmapFont.BitmapFontData
to be used instead of loading theTexture
directly. Use this if your font is embedded in aSkin
.
-
atlasName
public java.lang.String atlasName
The name of theTextureAtlas
to load theBitmapFont
itself from. Optional; ifnull
, will look for a separate image
-
-