Enum Class TypeWidth

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

public enum TypeWidth extends Enum<TypeWidth>
Specifies the wideness of a typeface, in terms of the width of characters in relation to their heights.
  • Enum Constant Details

    • ULTRA_CONDENSED

      public static final TypeWidth ULTRA_CONDENSED
    • EXTRA_CONDENSED

      public static final TypeWidth EXTRA_CONDENSED
    • CONDENSED

      public static final TypeWidth CONDENSED
    • SEMI_CONDENSED

      public static final TypeWidth SEMI_CONDENSED
    • NORMAL

      public static final TypeWidth NORMAL
    • SEMI_EXPANDED

      public static final TypeWidth SEMI_EXPANDED
    • EXPANDED

      public static final TypeWidth EXPANDED
    • EXTRA_EXPANDED

      public static final TypeWidth EXTRA_EXPANDED
    • ULTRA_EXPANDED

      public static final TypeWidth ULTRA_EXPANDED
  • Method Details

    • values

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