Interface PolygonSymbolizer

  • All Superinterfaces:

    public interface PolygonSymbolizer
    extends Symbolizer
    Holds the information that indicates how to draw the lines and the interior of polygons.
    GeoAPI 2.2
    • Method Detail

      • getStroke

        Stroke getStroke()
        Returns the object containing all the information necessary to draw styled lines. This is used for the edges of polygons.
      • getFill

        Fill getFill()
        Returns the object that holds the information about how the interior of polygons should be filled. This may be null if the polygons are not to be filled at all.
      • getDisplacement

        Displacement getDisplacement()
        The Displacement gives the X and Y displacements from the original geometry. This element may be used to avoid over-plotting of multiple PolygonSymbolizers for one geometry or supplying "shadows" of polygon gemeotries. The displacements are in units of pixels above and to the right of the point. The default displacement is X=0, Y=0.
      • getPerpendicularOffset

        Expression getPerpendicularOffset()
        PerpendicularOffset works as defined for LineSymbolizer, allowing to draw polygons smaller or larger than their actual geometry. The distance is in uoms and is positive to the outside of the polygon. Negative numbers mean drawing the polygon smaller. The default offset is 0.
      • accept

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