Class UIFont

java.lang.Object
com.ardor3d.extension.ui.text.font.UIFont

public class UIFont extends Object
Defines a texture based font for use in the UI system.
  • Constructor Details

  • Method Details

    • getFontHeight

      public int getFontHeight()
    • getFontSize

      public int getFontSize()
    • getFontTexture

      public Texture2D getFontTexture()
    • getDescriptor

      public CharacterDescriptor getDescriptor(char c)
      Parameters:
      c - the char to retrieve descriptor for
      Returns:
      a descriptor for the given character, or null if none exists.
    • addKerning

      public void addKerning(char charA, char charB, int amount)
    • getKerning

      public int getKerning(char charA, char charB)