org.geotools.renderer.style
Class DynamicPolygonStyle2D
Object
Style
Style2D
LineStyle2D
PolygonStyle2D
DynamicPolygonStyle2D
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
- Module:
Method Summary |
Paint |
getFill()
Computes and returns the fill based on the feature and the symbolizer |
Composite |
getFillComposite()
Computes and returns the fill composite based on the feature and the symbolizer |
DynamicPolygonStyle2D
public DynamicPolygonStyle2D(SimpleFeature f,
PolygonSymbolizer sym)
- Creates a new instance of DynamicPolygonStyle2D
getFill
public Paint getFill()
- Computes and returns the fill based on the feature and the symbolizer
- Overrides:
getFill
in class PolygonStyle2D
- Returns:
- the current fill or null if none
getFillComposite
public Composite getFillComposite()
- Computes and returns the fill composite based on the feature and the symbolizer
- Overrides:
getFillComposite
in class PolygonStyle2D
- Returns:
- the current fill composite or null if none
Copyright © 1996-2009 Geotools. All Rights Reserved.