Enum Class FontSize

java.lang.Object
java.lang.Enum<FontSize>
org.openpdf.text.html.FontSize
All Implemented Interfaces:
Serializable, Comparable<FontSize>, Constable

@Deprecated(since="2.1.0") public enum FontSize extends Enum<FontSize>
Deprecated.
Named font sizes defined by CSS font-size property
  • Enum Constant Details

    • XX_SMALL

      public static final FontSize XX_SMALL
      Deprecated.
    • X_SMALL

      public static final FontSize X_SMALL
      Deprecated.
    • SMALL

      public static final FontSize SMALL
      Deprecated.
    • MEDIUM

      public static final FontSize MEDIUM
      Deprecated.
    • LARGE

      public static final FontSize LARGE
      Deprecated.
    • X_LARGE

      public static final FontSize X_LARGE
      Deprecated.
    • XX_LARGE

      public static final FontSize XX_LARGE
      Deprecated.
    • XXX_LARGE

      public static final FontSize XXX_LARGE
      Deprecated.
    • SMALLER

      public static final FontSize SMALLER
      Deprecated.
    • LARGER

      public static final FontSize LARGER
      Deprecated.
  • Method Details

    • values

      public static FontSize[] values()
      Deprecated.
      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 FontSize valueOf(String name)
      Deprecated.
      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
    • parse

      public static FontSize parse(String text)
      Deprecated.
    • getTextValue

      public String getTextValue()
      Deprecated.
    • getScale

      public float getScale()
      Deprecated.
    • isRelative

      public boolean isRelative()
      Deprecated.