Package com.ardor3d.ui.text
Class BMFontManager
java.lang.Object
com.ardor3d.ui.text.BMFontManager
Simple singleton that loads some font textures and provides easy access.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BMFont
static BMFont
getFont
(BMFontManager.FontStyle style) static BMFont
Retrieves the font, loads it if need be.static BMFont
static BMFont
static BMFont
static BMFont
static BMFont
Creates the font.static BMFont
static BMFont
static BMFont
static BMFont
static BMFont
-
Constructor Details
-
BMFontManager
public BMFontManager()
-
-
Method Details
-
getFont
- Parameters:
style
- the font style- Returns:
- the font
-
getFont
Retrieves the font, loads it if need be. Font must exist in this bundle in images/fonts.- Parameters:
fontName
- the font name- Returns:
- the font
-
newFont
Creates the font. Font must exist in this bundle in images/fonts.- Parameters:
fontName
- the font name- Returns:
- the font
-
defaultFont
-
sansExtraSmall
-
sansSmall
-
sansMedium
-
sansLarge
-
sansExtraLarge
-
monoSmall
-
monoMedium
-
monoLarge
-
monoExtraLarge
-