Package org.geotools.api.style
Enum Class TextSymbolizer.GraphicPlacement
- All Implemented Interfaces:
Serializable
,Comparable<TextSymbolizer.GraphicPlacement>
,Constable
- Enclosing interface:
- TextSymbolizer
GraphicPlacemnts controls the position of the Graphic associated with the label
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPlaces the graphic independent of the label own offset and anchor, but applying the Graphic offset and anchor instead, on top of the chosen label point.Centered with the label, thus moving with it considering its offsets and anchors relative to the label point. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TextSymbolizer.GraphicPlacement[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LABEL
Centered with the label, thus moving with it considering its offsets and anchors relative to the label point. If not specified, this is the default behavior. -
INDEPENDENT
Places the graphic independent of the label own offset and anchor, but applying the Graphic offset and anchor instead, on top of the chosen label point. This allows to create graphics that are at an offset compared to the label
-
-
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
-