public class UiFont
extends java.lang.Object
Constructor and Description |
---|
UiFont() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
com.badlogic.gdx.graphics.g2d.BitmapFont |
generateFont(com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.FreeTypeFontParameter fontParameters) |
int |
getBorderWidth() |
com.badlogic.gdx.graphics.Color |
getFontBorderColor() |
java.lang.String |
getPath() |
void |
prepareAssets(UiTheme theme,
com.badlogic.gdx.assets.loaders.FileHandleResolver fileHandleResolver) |
void |
setBorderWidth(int borderWidth) |
void |
setPath(java.lang.String path) |
public void prepareAssets(UiTheme theme, com.badlogic.gdx.assets.loaders.FileHandleResolver fileHandleResolver)
public void dispose()
public java.lang.String getPath()
public void setPath(java.lang.String path)
public int getBorderWidth()
public void setBorderWidth(int borderWidth)
public com.badlogic.gdx.graphics.g2d.BitmapFont generateFont(com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.FreeTypeFontParameter fontParameters)
public com.badlogic.gdx.graphics.Color getFontBorderColor()