Class BMFontManager

java.lang.Object
com.ardor3d.ui.text.BMFontManager

public class BMFontManager extends Object
Simple singleton that loads some font textures and provides easy access.
  • Constructor Details

    • BMFontManager

      public BMFontManager()
  • Method Details

    • getFont

      public static BMFont getFont(BMFontManager.FontStyle style)
      Parameters:
      style - the font style
      Returns:
      the font
    • getFont

      public static BMFont getFont(String fontName)
      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

      public static BMFont newFont(String fontName)
      Creates the font. Font must exist in this bundle in images/fonts.
      Parameters:
      fontName - the font name
      Returns:
      the font
    • defaultFont

      public static BMFont defaultFont()
    • sansExtraSmall

      public static BMFont sansExtraSmall()
    • sansSmall

      public static BMFont sansSmall()
    • sansMedium

      public static BMFont sansMedium()
    • sansLarge

      public static BMFont sansLarge()
    • sansExtraLarge

      public static BMFont sansExtraLarge()
    • monoSmall

      public static BMFont monoSmall()
    • monoMedium

      public static BMFont monoMedium()
    • monoLarge

      public static BMFont monoLarge()
    • monoExtraLarge

      public static BMFont monoExtraLarge()