Package com.jme3.font

Enum Class BitmapFont.VAlign

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

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

    • Top

      public static final BitmapFont.VAlign Top
      Align text on the top of the text block
    • Center

      public static final BitmapFont.VAlign Center
      Align text in the center of the text block
    • Bottom

      public static final BitmapFont.VAlign Bottom
      Align text at the bottom of the text block
  • Method Details

    • values

      public static BitmapFont.VAlign[] 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.VAlign 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