Documentation of 'org.opengis.sld.TextSymbol' Java class
TextSymbol
org.opengis.sld

Interface TextSymbol

  • All Superinterfaces:
    Symbol


    @XmlElement(value="TextSymbolizer")
    public interface TextSymbol
    extends Symbol
    Indicates how text will be drawn.
    Since:
    GeoAPI 2.0
    • Method Detail

      • getLabel

        @XmlElement(value="Label")
        Expression getLabel()
        Returns the expression that will be evaluated to determine what text is displayed.
      • getFonts

        @XmlElement(value="Font")
        java.util.List<Font> getFonts()
        Returns a list of Fonts to choose from when rendering this symbol. The renderer must choose the first one in the list that it is capable of rendering. The returned list is "live" and can be modified by the caller. (This is why there is no setFonts method.)
      • setPlacement

        @XmlElement(value="LabelPlacement")
        void setPlacement(TextPlacement placement)
        Sets the object that indicates how the text should be placed with respect to the feature geometry. See getPlacement() for details.
      • getHalo

        @XmlElement(value="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.
      • setHalo

        @XmlElement(value="Halo")
        void setHalo(Halo halo)
        Sets the object that indicates if a Halo will be drawn around the text. If null, a halo will not be drawn. See getHalo() for details.
      • getFill

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

        @XmlElement(value="Fill")
        void setFill(Fill fill)
        Sets the object that indicates how the text will be filled. See getFill() for details.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.