Package com.esri.arcgisruntime.symbology
Enum TextSymbol.FontDecoration
- java.lang.Object
-
- java.lang.Enum<TextSymbol.FontDecoration>
-
- com.esri.arcgisruntime.symbology.TextSymbol.FontDecoration
-
- All Implemented Interfaces:
Serializable
,Comparable<TextSymbol.FontDecoration>
- Enclosing class:
- TextSymbol
public static enum TextSymbol.FontDecoration extends Enum<TextSymbol.FontDecoration>
Defines various decorations that can be applied to the text of this Symbol. Decorations add effects on top of the text being used by this Symbol.- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINE_THROUGH
Draws a line through the middle of the text being used by this Symbol.NONE
Displays text with no decoration was applied.UNDERLINE
Draws a line below the text being used by this Symbol.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextSymbol.FontDecoration
valueOf(String name)
Returns the enum constant of this type with the specified name.static TextSymbol.FontDecoration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINE_THROUGH
public static final TextSymbol.FontDecoration LINE_THROUGH
Draws a line through the middle of the text being used by this Symbol.
-
NONE
public static final TextSymbol.FontDecoration NONE
Displays text with no decoration was applied.
-
UNDERLINE
public static final TextSymbol.FontDecoration UNDERLINE
Draws a line below the text being used by this Symbol.
-
-
Method Detail
-
values
public static TextSymbol.FontDecoration[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TextSymbol.FontDecoration c : TextSymbol.FontDecoration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextSymbol.FontDecoration valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-