Enum Class TextSymbol.FontStyle

java.lang.Object
java.lang.Enum<TextSymbol.FontStyle>
com.esri.arcgisruntime.symbology.TextSymbol.FontStyle
All Implemented Interfaces:
Serializable, Comparable<TextSymbol.FontStyle>, Constable
Enclosing class:
TextSymbol

public static enum TextSymbol.FontStyle extends Enum<TextSymbol.FontStyle>
Defines various styles that can be applied to the text of this Symbol. Styles change how the Symbol's text will lean.
Since:
100.0.0
  • Enum Constant Details

    • NORMAL

      public static final TextSymbol.FontStyle NORMAL
      Displays text as if no style was applied.
    • ITALIC

      public static final TextSymbol.FontStyle ITALIC
      Applies a style that leans characters forwards, starting from the bottom left to top right of the text.
    • OBLIQUE

      public static final TextSymbol.FontStyle OBLIQUE
      Applies a style that leans characters backwards, starting from the bottom right to top left of the text.
  • Method Details

    • values

      public static TextSymbol.FontStyle[] 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 TextSymbol.FontStyle 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