Interface TextSymbolizer

  • All Superinterfaces:
    Symbolizer

    @XmlElement("TextSymbolizer")
    public interface TextSymbolizer
    extends Symbolizer
    Indicates how text will be drawn.
    Since:
    GeoAPI 2.2
    • Method Detail

      • getLabel

        @XmlElement("Label")
        Expression getLabel()
        Returns the expression that will be evaluated to determine what text is displayed. If a Label element is not provided in a TextSymbolizer, then no text shall be rendered.
      • getFont

        @XmlElement("Font")
        Font getFont()
        Returns the Font to apply on the text.
      • getHalo

        @XmlElement("Halo")
        Halo getHalo()
        Returns the object that indicates if a Halo will be drawn around the text. If null, a halo will not be drawn.
      • getFill

        @XmlElement("Fill")
        Fill getFill()
        Returns the object that indicates how the text will be filled.
      • accept

        Object accept​(StyleVisitor visitor,
                      Object extraData)
        calls the visit method of a StyleVisitor
        Specified by:
        accept in interface Symbolizer
        Parameters:
        visitor - the style visitor
        Returns:
        value produced