Package dev.avelar.mapnik
Enum Class Symbolizer.Position
- All Implemented Interfaces:
Serializable,Comparable<Symbolizer.Position>,Constable
- Enclosing class:
- Symbolizer
Which placements to try for a label, in order, when the first does not fit.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Symbolizer.PositionReturns the enum constant of this class with the specified name.static Symbolizer.Position[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORTH
-
EAST
-
SOUTH
-
WEST
-
NORTH_EAST
-
SOUTH_EAST
-
NORTH_WEST
-
SOUTH_WEST
-
EXACT
-
-
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
-