Package org.geotools.renderer.style
Class DynamicPolygonStyle2D
Object
Style
Style2D
LineStyle2D
PolygonStyle2D
DynamicPolygonStyle2D
- All Implemented Interfaces:
Cloneable
A dynamic polygon style, that will compute its parameters each time they are requested instead of caching them
- Author:
- jamesm
-
Field Summary
Fields inherited from class PolygonStyle2D
fill, fillComposite, graphicFill
Fields inherited from class LineStyle2D
contour, contourComposite, perpendicularOffset, stroke
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of DynamicPolygonStyle2D -
Method Summary
Modifier and TypeMethodDescriptiongetFill()
Computes and returns the fill based on the feature and the symbolizerComputes and returns the fill composite based on the feature and the symbolizerMethods inherited from class PolygonStyle2D
getGraphicFill, setFill, setFillComposite, setGraphicFill, toString
Methods inherited from class LineStyle2D
getContour, getContourComposite, getGraphicStroke, getPerpendicularOffset, getStroke, setContour, setContourComposite, setGraphicStroke, setPerpendicularOffset, setStroke
Methods inherited from class Style
clone, getMaxScale, getMinScale, isScaleInRange, setMinMaxScale
-
Constructor Details
-
DynamicPolygonStyle2D
Creates a new instance of DynamicPolygonStyle2D
-
-
Method Details
-
getFill
Computes and returns the fill based on the feature and the symbolizer- Overrides:
getFill
in classPolygonStyle2D
- Returns:
- the current fill or null if none
-
getFillComposite
Computes and returns the fill composite based on the feature and the symbolizer- Overrides:
getFillComposite
in classPolygonStyle2D
- Returns:
- the current fill composite or null if none
-