Package arc.assets.loaders
Class FontLoader.FontParameter
- Enclosing class:
- FontLoader
Parameter to be passed to
AssetManager.load(String, Class, AssetLoaderParameters)
if additional configuration is
necessary for the Font
.-
Nested Class Summary
Nested classes/interfaces inherited from class arc.assets.AssetLoaderParameters
AssetLoaderParameters.LoadedCallback
-
Field Summary
Modifier and TypeFieldDescriptionThe name of theTextureAtlas
to load theFont
itself from.boolean
Flips the font vertically iftrue
.optionalFont.FontData
to be used instead of loading theTexture
directly.boolean
Generates mipmaps for the font iftrue
.TheTexture.TextureFilter
to use when scaling up theFont
.TheTexture.TextureFilter
to use when scaling down theFont
.Fields inherited from class arc.assets.AssetLoaderParameters
loadedCallback
-
Constructor Summary
-
Method Summary
-
Field Details
-
flip
public boolean flipFlips the font vertically iftrue
. Defaults tofalse
. -
genMipMaps
public boolean genMipMapsGenerates mipmaps for the font iftrue
. Defaults tofalse
. -
minFilter
TheTexture.TextureFilter
to use when scaling down theFont
. Defaults toTexture.TextureFilter.nearest
. -
magFilter
TheTexture.TextureFilter
to use when scaling up theFont
. Defaults toTexture.TextureFilter.nearest
. -
fontData
optionalFont.FontData
to be used instead of loading theTexture
directly. -
atlasName
The name of theTextureAtlas
to load theFont
itself from. Optional; ifnull
, will look for a separate image
-
-
Constructor Details
-
FontParameter
public FontParameter()
-