|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.graphics.sld.Symbolizer_Impl
org.deegree_impl.graphics.sld.PolygonSymbolizer_Impl
Used to render an interior "fill" and an outlining "stroke" for a polygon or other 2D-area geometry. If a point or line are used, the fill is ignored and the stroke is used as described in the LineSymbol. A missing Geometry element selects the default geometry. A missing Fill or Stroke element means that there will be no fill or stroke plotted, respectively. The contained elements are in the conceptual order of their being used and plotted using the "painters model", where the Fill will be rendered first, and then the Stroke will be rendered on top of the Fill.
----------------------------------------------------------------------
Field Summary | |
private Fill |
fill
|
private Stroke |
stroke
|
Fields inherited from class org.deegree_impl.graphics.sld.Symbolizer_Impl |
geometry, maxDenominator, minDenominator |
Constructor Summary | |
|
PolygonSymbolizer_Impl()
Creates a new PolygonSymbolizer_Impl object. |
(package private) |
PolygonSymbolizer_Impl(Fill fill,
Stroke stroke,
Geometry geometry,
double min,
double max)
constructor initializing the class with the |
Method Summary | |
java.lang.String |
exportAsXML()
exports the content of the PolygonSymbolizer as XML formated String |
Fill |
getFill()
A Fill allows area geometries to be filled. |
Stroke |
getStroke()
A Stroke allows a string of line segments (or any linear geometry) to be rendered. |
void |
setFill(Fill fill)
sets the |
void |
setStroke(Stroke stroke)
sets the |
java.lang.String |
toString()
Produces a textual representation of this object. |
Methods inherited from class org.deegree_impl.graphics.sld.Symbolizer_Impl |
getGeometry, getMaxScaleDenominator, getMinScaleDenominator, setGeometry, setMaxScaleDenominator, setMinScaleDenominator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deegree.graphics.sld.Symbolizer |
getGeometry, getMaxScaleDenominator, getMinScaleDenominator, setGeometry, setMaxScaleDenominator, setMinScaleDenominator |
Field Detail |
private Fill fill
private Stroke stroke
Constructor Detail |
public PolygonSymbolizer_Impl()
PolygonSymbolizer_Impl(Fill fill, Stroke stroke, Geometry geometry, double min, double max)
Method Detail |
public Fill getFill()
getFill
in interface PolygonSymbolizer
public void setFill(Fill fill)
setFill
in interface PolygonSymbolizer
fill
- the fill of the polygonpublic Stroke getStroke()
getStroke
in interface PolygonSymbolizer
public void setStroke(Stroke stroke)
setStroke
in interface PolygonSymbolizer
stroke
- the stroke of the polygonpublic java.lang.String toString()
public java.lang.String exportAsXML()
exportAsXML
in interface Marshallable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |