Documentation of 'org.opengis.go.display.style.TextSymbolizer' Java class
TextSymbolizer
org.opengis.go.display.style

Interface TextSymbolizer

  • All Superinterfaces:
    java.lang.Cloneable, GraphicStyle


    public interface TextSymbolizer
    extends GraphicStyle
    Encapsulates the style data applicable to Graphics that are of type Text in the sense of SLD (OGC 02-070).

    Note that the "fill color" of a TextSymbolizer could also be called the "text color" as it is the primary color used to draw the text.

    • Field Detail

      • DEFAULT_FILL_COLOR

        static final java.awt.Color DEFAULT_FILL_COLOR
        Default fill color value.
      • DEFAULT_FILL_BACKGROUND_COLOR

        static final java.awt.Color DEFAULT_FILL_BACKGROUND_COLOR
        Default fill background color value.
      • DEFAULT_FILL_OPACITY

        static final float DEFAULT_FILL_OPACITY
        Default fill opacity value.
        See Also:
        Constant Field Values
      • DEFAULT_FILL_PATTERN

        static final FillPattern DEFAULT_FILL_PATTERN
        Default fill pattern value.
      • DEFAULT_FILL_STYLE

        static final FillStyle DEFAULT_FILL_STYLE
        Default fill style value.
      • DEFAULT_FONT

        static final java.awt.Font DEFAULT_FONT
      • DEFAULT_HALO_RADIUS

        static final float DEFAULT_HALO_RADIUS
        Default halo radius value.
        See Also:
        Constant Field Values
      • DEFAULT_ROTATION

        static final float DEFAULT_ROTATION
        Default rotation.
        See Also:
        Constant Field Values
      • DEFAULT_X_ANCHOR

        static final XAnchor DEFAULT_X_ANCHOR
        Default xAnchor.
      • DEFAULT_X_DISPLACEMENT

        static final float DEFAULT_X_DISPLACEMENT
        Default xDisplacement.
        See Also:
        Constant Field Values
      • DEFAULT_Y_ANCHOR

        static final YAnchor DEFAULT_Y_ANCHOR
        Default yAnchor.
      • DEFAULT_Y_DISPLACEMENT

        static final float DEFAULT_Y_DISPLACEMENT
        Default yDisplacement.
        See Also:
        Constant Field Values
    • Method Detail

      • getFillColor

        java.awt.Color getFillColor()
        Returns the color used to draw the text. This is the color used to fill the interior of the font glyphs.
        Returns:
        the text foreground color.
      • setFillColor

        void setFillColor(java.awt.Color fillColor)
        Sets the color used to draw the text. This is the color used to fill the interior of the font glyphs.
        Parameters:
        fillColor - the text foreground color.
      • getFillBackgroundColor

        java.awt.Color getFillBackgroundColor()
        Returns the color that is used as the pattern background color when a stipple pattern is used for the fill color.
        Returns:
        the font glyph background color for stippled text rendering.
      • setFillBackgroundColor

        void setFillBackgroundColor(java.awt.Color fillBackgroundColor)
        Sets the color that is used as the pattern background color when a stipple pattern is used for the fill color.
        Parameters:
        fillBackgroundColor - the font glyph background color for stippled text rendering.
      • getFillGradientPoints

        float[] getFillGradientPoints()
        Returns the fill gradient points value, or null if there is no fill gradient.
        Returns:
        the fill gradient points value.
      • setFillGradientPoints

        void setFillGradientPoints(float[] fillGradientPoints)
        Sets the fill gradient points value.
        Parameters:
        fillGradientPoints - the fill gradient points value, or null to specify no fill gradient.
      • getFillOpacity

        float getFillOpacity()
        Returns the fill opacity value.
        Returns:
        the fill opacity value.
      • setFillOpacity

        void setFillOpacity(float fillOpacity)
        Sets the fill opacity value.
        Parameters:
        fillOpacity - the fill opacity value.
      • getFillPattern

        FillPattern getFillPattern()
        Returns the fill pattern value.
        Returns:
        the fill pattern value.
      • setFillPattern

        void setFillPattern(FillPattern fillPattern)
        Sets the fill pattern value.
        Parameters:
        fillPattern - the fill pattern value.
      • getFillStyle

        FillStyle getFillStyle()
        Returns the fill style value.
        Returns:
        the fill style value.
      • setFillStyle

        void setFillStyle(FillStyle fillStyle)
        Sets the fill style value.
        Parameters:
        fillStyle - the fill style value.
      • getFont

        java.awt.Font getFont()
        Returns the Font object.
        Returns:
        the Font object.
      • setFont

        void setFont(java.awt.Font object)
        Sets the Font object.
        Parameters:
        object - the Font object.
      • getHaloRadius

        float getHaloRadius()
        Returns the halo radius value, or zero if no halo is to be drawn.
        Returns:
        the value of the halo radius.
      • setHaloRadius

        void setHaloRadius(float haloRadius)
        Sets the halo radius value. If zero, no halo will be drawn.
        Parameters:
        haloRadius - the value of the halo radius.
      • getHaloColor

        java.awt.Color getHaloColor()
        Returns the color that is used to fill in the halo, or null if no halo is to be drawn.
        Returns:
        the halo color.
      • setHaloColor

        void setHaloColor(java.awt.Color haloColor)
        Sets the halo color.
        Parameters:
        haloColor - the halo color.
      • getBackgroundColor

        java.awt.Color getBackgroundColor()
        Returns the color that is used to fill in a bounding box behind the text, or null if no background is to be drawn using this symbolizer.
        Returns:
        the color of the background behind the label, or null if no background will be drawn.
      • setBackgroundColor

        void setBackgroundColor(java.awt.Color backgroundColor)
        Sets the color that is used for rendering a background behind the text.
        Parameters:
        backgroundColor - the font glyph background color for stippled text rendering.
      • getRotation

        float getRotation()
        Returns the label rotation.
        Returns:
        the label rotation.
      • setRotation

        void setRotation(float labelRotation)
        Sets the label rotation.
        Parameters:
        labelRotation - the label rotation.
      • getXAnchor

        XAnchor getXAnchor()
        Returns the label XAnchor.
        Returns:
        the label XAnchor.
      • setXAnchor

        void setXAnchor(XAnchor xAnchor)
        Sets the label XAnchor.
        Parameters:
        xAnchor - the label XAnchor.
      • getXDisplacement

        float getXDisplacement()
        Returns the label X displacement.
        Returns:
        the label X displacement.
      • setXDisplacement

        void setXDisplacement(float xDisplacement)
        Sets the label X displacement.
        Parameters:
        xDisplacement - the label X displacement.
      • getYAnchor

        YAnchor getYAnchor()
        Returns the label YAnchor.
        Returns:
        the label YAnchor.
      • setYAnchor

        void setYAnchor(YAnchor yAnchor)
        Sets the label YAnchor.
        Parameters:
        yAnchor - the label YAnchor.
      • getYDisplacement

        float getYDisplacement()
        Returns the label Y displacement.
        Returns:
        the label Y displacement.
      • setYDisplacement

        void setYDisplacement(float yDisplacement)
        Sets the label Y displacement.
        Parameters:
        yDisplacement - the label Y displacement.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.