Enum Class TextDirection

java.lang.Object
java.lang.Enum<TextDirection>
com.nsdev.lettergenerator.model.layout.TextDirection
All Implemented Interfaces:
Serializable, Comparable<TextDirection>, Constable

public enum TextDirection extends Enum<TextDirection>
Document reading direction; AUTO derives the base direction from the selected language.
  • Enum Constant Details

    • AUTO

      public static final TextDirection AUTO
      Select the base direction from the document language.
    • LTR

      public static final TextDirection LTR
      Left-to-right writing.
    • RTL

      public static final TextDirection RTL
      Right-to-left writing.
  • Method Details

    • values

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