Package org.geotools.renderer.style
Class DynamicPolygonStyle2D
- Object
- 
- Style
- 
- Style2D
- 
- LineStyle2D
- 
- PolygonStyle2D
- 
- DynamicPolygonStyle2D
 
 
 
 
 
- 
- All Implemented Interfaces:
- Cloneable
 
 public class DynamicPolygonStyle2D extends PolygonStyle2D 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 PolygonStyle2Dfill, fillComposite, graphicFill
 - 
Fields inherited from class LineStyle2Dcontour, contourComposite, perpendicularOffset, stroke
 
- 
 - 
Constructor SummaryConstructors Constructor Description DynamicPolygonStyle2D(SimpleFeature f, PolygonSymbolizer sym)Creates a new instance of DynamicPolygonStyle2D
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PaintgetFill()Computes and returns the fill based on the feature and the symbolizerCompositegetFillComposite()Computes and returns the fill composite based on the feature and the symbolizer- 
Methods inherited from class PolygonStyle2DgetGraphicFill, setFill, setFillComposite, setGraphicFill, toString
 - 
Methods inherited from class LineStyle2DgetContour, getContourComposite, getGraphicStroke, getPerpendicularOffset, getStroke, setContour, setContourComposite, setGraphicStroke, setPerpendicularOffset, setStroke
 - 
Methods inherited from class Styleclone, getMaxScale, getMinScale, isScaleInRange, setMinMaxScale
 
- 
 
- 
- 
- 
Constructor Detail- 
DynamicPolygonStyle2Dpublic DynamicPolygonStyle2D(SimpleFeature f, PolygonSymbolizer sym) Creates a new instance of DynamicPolygonStyle2D
 
- 
 - 
Method Detail- 
getFillpublic Paint getFill() Computes and returns the fill based on the feature and the symbolizer- Overrides:
- getFillin class- PolygonStyle2D
- Returns:
- the current fill or null if none
 
 - 
getFillCompositepublic Composite getFillComposite() Computes and returns the fill composite based on the feature and the symbolizer- Overrides:
- getFillCompositein class- PolygonStyle2D
- Returns:
- the current fill composite or null if none
 
 
- 
 
-