Interface Fill

  • @XmlElement("Fill")
    public interface Fill
    Indicates how the interior of polygons will be filled.
    GeoAPI 2.2
    • Method Detail

      • getGraphicFill

        GraphicFill getGraphicFill()
        If this object is to be filled with tiled copies of an image, then returns a non-null Graphic that indicates what image should be drawn.
        Graphic object or null if no graphic pattern to use.
      • getColor

        Expression getColor()
        Indicates the color to be used for solid-filling the interior of polygons. The format of the color is "#rrggbb" where rr, gg, and bb are two digit hexadecimal integers specify the red, green, and blue color intensities, repsectively. If null, the default color is 50% gray, "#808080".
        Expression : if null the color used shall be a 50% gray "#808080".
      • getOpacity

        Expression getOpacity()
        Indicates the opacity of the fill. This value must be a floating point number ranging from 0.0 to 1.0, where 0.0 means completely transparent and 1.0 means completely opaque. If null, the default value is 1.0, completely opaque.
        Expression : if null, value used shall be 1.0
      • accept

        Object accept​(StyleVisitor visitor,
                      Object extraData)
        calls the visit method of a StyleVisitor
        visitor - the style visitor