Package org.geotools.api.style
Enum Class TextSymbolizer.DisplacementAnchor
- All Implemented Interfaces:
Serializable,Comparable<TextSymbolizer.DisplacementAnchor>,Constable
- Enclosing interface:
- TextSymbolizer
public static enum TextSymbolizer.DisplacementAnchor
extends Enum<TextSymbolizer.DisplacementAnchor>
Label anchors tried by the displacementMode search for the N, S, E and W directions
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TextSymbolizer.DisplacementAnchor[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANY
Centered on the displaced position first, then the other anchors; the label may cover the point -
OUTSIDE
Only the anchor that keeps the whole label on the side it moves to, so it never covers the point
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-