Package org.geotools.api.style
Enum TextSymbolizer.DisplacementMode
- Object
-
- Enum<TextSymbolizer.DisplacementMode>
-
- DisplacementMode
-
- All Implemented Interfaces:
Serializable
,Comparable<TextSymbolizer.DisplacementMode>
- Enclosing interface:
- TextSymbolizer
public static enum TextSymbolizer.DisplacementMode extends Enum<TextSymbolizer.DisplacementMode>
DisplacementMode associates an angle with each enum value
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAngle()
static TextSymbolizer.DisplacementMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static TextSymbolizer.DisplacementMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
N
public static final TextSymbolizer.DisplacementMode N
-
W
public static final TextSymbolizer.DisplacementMode W
-
E
public static final TextSymbolizer.DisplacementMode E
-
S
public static final TextSymbolizer.DisplacementMode S
-
NW
public static final TextSymbolizer.DisplacementMode NW
-
NE
public static final TextSymbolizer.DisplacementMode NE
-
SW
public static final TextSymbolizer.DisplacementMode SW
-
SE
public static final TextSymbolizer.DisplacementMode SE
-
-
Method Detail
-
values
public static TextSymbolizer.DisplacementMode[] 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 (TextSymbolizer.DisplacementMode c : TextSymbolizer.DisplacementMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextSymbolizer.DisplacementMode 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
-
getAngle
public int getAngle()
-
-