|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.graphics.sld.Drawing_Impl
org.deegree_impl.graphics.sld.Fill_Impl
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 |
| Fields inherited from class org.deegree_impl.graphics.sld.Drawing_Impl |
cssParams, graphicFill |
| Fields inherited from interface org.deegree.graphics.sld.Fill |
FILL_DEFAULT, OPACITY_DEFAULT |
| Constructor Summary | |
protected |
Fill_Impl()
Constructs a new Fill_Impl. |
protected |
Fill_Impl(java.util.HashMap cssParams,
GraphicFill graphicFill)
Constructs a new Fill_Impl. |
| Method Summary | |
java.lang.String |
exportAsXML()
exports the content of the CssParameter as XML formated String |
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 class org.deegree_impl.graphics.sld.Drawing_Impl |
addCssParameter, getCssParameters, getGraphicFill, removeCssParameter, setCssParameters, setGraphicFill |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.deegree.graphics.sld.Drawing |
addCssParameter, getCssParameters, getGraphicFill, removeCssParameter, setCssParameters, setGraphicFill |
| Constructor Detail |
protected Fill_Impl()
protected Fill_Impl(java.util.HashMap cssParams,
GraphicFill graphicFill)
| Method Detail |
public java.awt.Color getFill(Feature feature)
throws FilterEvaluationException
getFill in interface Fillfeature - 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)
setFill in interface Fillcolor - color to be set
public double getOpacity(Feature feature)
throws FilterEvaluationException
getOpacity in interface Fillfeature - 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)
setOpacity in interface Fillopacity - opacity to be setpublic java.lang.String exportAsXML()
exportAsXML in interface Marshallable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||