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.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.
    com.badlogic.gdx.graphics.Texture.TextureFilter magFilter
    The Texture.TextureFilter to use when scaling up the BitmapFont.
    com.badlogic.gdx.graphics.Texture.TextureFilter minFilter
    The Texture.TextureFilter to use when scaling down the BitmapFont.

    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 flip
      Flips the font vertically if true. Defaults to false.
    • genMipMaps

      public boolean genMipMaps
      Generates mipmaps for the font if true. Defaults to false.
    • minFilter

      public com.badlogic.gdx.graphics.Texture.TextureFilter minFilter
      The Texture.TextureFilter to use when scaling down the BitmapFont. Defaults to Texture.TextureFilter.Nearest.
    • magFilter

      public com.badlogic.gdx.graphics.Texture.TextureFilter magFilter
      The Texture.TextureFilter to use when scaling up the BitmapFont. Defaults to Texture.TextureFilter.Nearest.
    • bitmapFontData

      public BitmapFont.BitmapFontData bitmapFontData
      optional BitmapFont.BitmapFontData to be used instead of loading the Texture directly. Use this if your font is embedded in a Skin.
    • atlasName

      public java.lang.String atlasName
      The name of the TextureAtlas to load the BitmapFont itself from. Optional; if null, will look for a separate image
  • Constructor Details

    • BitmapFontParameter

      public BitmapFontParameter()