Package org.opengis.style
Interface PolygonSymbolizer
-
- All Superinterfaces:
Symbolizer
- All Known Subinterfaces:
PolygonSymbolizer
- All Known Implementing Classes:
PolygonSymbolizerImpl
@XmlElement("PolygonSymbolizer") public interface PolygonSymbolizer extends Symbolizer
Holds the information that indicates how to draw the lines and the interior of polygons.- Since:
- GeoAPI 2.2
- Author:
- Open Geospatial Consortium, Johann Sorel (Geomatys), Chris Dillard (SYS Technologies)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
accept(StyleVisitor visitor, Object extraData)
calls the visit method of a StyleVisitorDisplacement
getDisplacement()
The Displacement gives the X and Y displacements from the original geometry.Fill
getFill()
Returns the object that holds the information about how the interior of polygons should be filled.Expression
getPerpendicularOffset()
PerpendicularOffset works as defined for LineSymbolizer, allowing to draw polygons smaller or larger than their actual geometry.Stroke
getStroke()
Returns the object containing all the information necessary to draw styled lines.-
Methods inherited from interface Symbolizer
getDescription, getGeometryPropertyName, getName, getUnitOfMeasure
-
-
-
-
Method Detail
-
getStroke
@XmlElement("Stroke") Stroke getStroke()
Returns the object containing all the information necessary to draw styled lines. This is used for the edges of polygons.- Returns:
- Stroke
-
getFill
@XmlElement("Fill") 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.- Returns:
- Fill
-
getDisplacement
@XmlElement("Displacement") 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.- Returns:
- Displacement
-
getPerpendicularOffset
@XmlElement("PerpendicularOffset") 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.- Returns:
- Expression
-
accept
@Extension Object accept(StyleVisitor visitor, Object extraData)
calls the visit method of a StyleVisitor- Specified by:
accept
in interfaceSymbolizer
- Parameters:
visitor
- the style visitor- Returns:
- value produced
-
-