Enum Class TextSymbolizer.GraphicPlacement

All Implemented Interfaces:
Serializable, Comparable<TextSymbolizer.GraphicPlacement>, Constable
Enclosing interface:
TextSymbolizer

public static enum TextSymbolizer.GraphicPlacement extends Enum<TextSymbolizer.GraphicPlacement>
GraphicPlacemnts controls the position of the Graphic associated with the label
  • Enum Constant Details

    • LABEL

      public static final TextSymbolizer.GraphicPlacement 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

      public static final TextSymbolizer.GraphicPlacement 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

      public static TextSymbolizer.GraphicPlacement[] 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

      public static TextSymbolizer.GraphicPlacement valueOf(String name)
      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 name
      NullPointerException - if the argument is null