Enum TextSymbolizer.GraphicPlacement

    • Enum Constant Detail

      • 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 Detail

      • values

        public static TextSymbolizer.GraphicPlacement[] 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.GraphicPlacement c : TextSymbolizer.GraphicPlacement.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.GraphicPlacement 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 name
        NullPointerException - if the argument is null