Enum Class WritingDirection

java.lang.Object
java.lang.Enum<WritingDirection>
com.mta.tehreer.sfnt.WritingDirection
All Implemented Interfaces:
Serializable, Comparable<WritingDirection>, java.lang.constant.Constable

public enum WritingDirection extends Enum<WritingDirection>
Specifies the writing direction of text.
  • Enum Constant Details

    • LEFT_TO_RIGHT

      public static final WritingDirection LEFT_TO_RIGHT
      Text is written from left-to-right.
    • RIGHT_TO_LEFT

      public static final WritingDirection RIGHT_TO_LEFT
      Text is written from right-to-left.
  • Method Details

    • values

      public static WritingDirection[] 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 WritingDirection 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