Class Fonts
java.lang.Object
de.gurkenlabs.litiengine.resources.ResourcesContainer<Font>
de.gurkenlabs.litiengine.resources.Fonts
-
Method Summary
Methods inherited from class de.gurkenlabs.litiengine.resources.ResourcesContainer
add, add, addClearedListener, addContainerListener, clear, contains, contains, contains, count, get, get, get, get, get, get, get, getAlias, getAll, getAsync, getAsync, getResources, remove, remove, removeClearedListener, removeContainerListener, tryGet, tryGet
-
Method Details
-
get
-
get
-
get
-
load
Loads a custom font with the specified name from game's resources. As a fallback, when no font could be found by the specifiedfontName, it tries to get the font from the environment by calling.- Specified by:
loadin classResourcesContainer<Font>- Parameters:
resourceName- The name of the font- Returns:
- The loaded font.
- See Also:
-