Package com.jme3.font

Enum Class BitmapFont.Align

java.lang.Object
java.lang.Enum<BitmapFont.Align>
com.jme3.font.BitmapFont.Align
All Implemented Interfaces:
Serializable, Comparable<BitmapFont.Align>, Constable
Enclosing class:
BitmapFont

public static enum BitmapFont.Align extends Enum<BitmapFont.Align>
Specifies horizontal alignment for text.
See Also:
  • Enum Constant Details

    • Left

      public static final BitmapFont.Align Left
      Align text on the left of the text block
    • Center

      public static final BitmapFont.Align Center
      Align text in the center of the text block
  • Method Details

    • values

      public static BitmapFont.Align[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BitmapFont.Align valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null