|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Fill allows area geometries to be filled. There are two types of fills: solid-color and repeated GraphicFill. In general, if a Fill element is omitted in its containing element, no fill will be rendered. The default is a solid 50%-gray (color "#808080") opaque fill.
Field Summary | |
static java.awt.Color |
FILL_DEFAULT
|
static double |
OPACITY_DEFAULT
|
Method Summary | |
java.awt.Color |
getFill(Feature feature)
Returns the (evaluated) value of the fill's CssParameter 'fill'. |
double |
getOpacity(Feature feature)
Returns the (evaluated) value of the fill's CssParameter 'fill-opacity'. |
void |
setFill(java.awt.Color color)
sets the value of the fill's CssParameter 'fill' as a simple color |
void |
setOpacity(double opacity)
sets the value of the opacity's CssParameter 'opacity' as a value. |
Methods inherited from interface org.deegree.graphics.sld.Drawing |
addCssParameter, getCssParameters, getGraphicFill, removeCssParameter, setCssParameters, setGraphicFill |
Field Detail |
public static final java.awt.Color FILL_DEFAULT
public static final double OPACITY_DEFAULT
Method Detail |
public java.awt.Color getFill(Feature feature) throws FilterEvaluationException
feature
- specifies the Feature to be used for evaluation
of the underlying 'sld:ParameterValueType'
FilterEvaluationException
- if the evaluation fails or the value
is invalidpublic void setFill(java.awt.Color color)
color
- color to be setpublic double getOpacity(Feature feature) throws FilterEvaluationException
feature
- specifies the Feature to be used for evaluation
of the underlying 'sld:ParameterValueType'
FilterEvaluationException
- if the evaluation fails or the value
is invalidpublic void setOpacity(double opacity)
opacity
- opacity to be set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |