Interface TextSymbolizer

    • 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.
        Returns:
        Expression
      • getFont

        @XmlElement("Font")
        Font getFont()
        Returns the Font to apply on the text.
        Returns:
        Font
      • 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.
        Returns:
        Halo
      • getFill

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

        @Extension
        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