|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.graphics.sld.AbstractSymbolizer org.deegree.graphics.sld.PolygonSymbolizer
public class PolygonSymbolizer
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 |
---|
Fields inherited from class org.deegree.graphics.sld.AbstractSymbolizer |
---|
geometry, maxDenominator, minDenominator, responsibleClass |
Constructor Summary | |
---|---|
PolygonSymbolizer()
Creates a new PolygonSymbolizer object. |
|
PolygonSymbolizer(Fill fill,
Stroke stroke,
Geometry geometry,
double min,
double max)
constructor initializing the class with the |
|
PolygonSymbolizer(Fill fill,
Stroke stroke,
Geometry geometry,
java.lang.String responsibleClass,
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()
|
Methods inherited from class org.deegree.graphics.sld.AbstractSymbolizer |
---|
getGeometry, getMaxScaleDenominator, getMinScaleDenominator, getResponsibleClass, setGeometry, setMaxScaleDenominator, setMinScaleDenominator, setResponsibleClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PolygonSymbolizer()
public PolygonSymbolizer(Fill fill, Stroke stroke, Geometry geometry, double min, double max)
fill
- stroke
- geometry
- min
- max
- PolygonSymbolizer(Fill fill, Stroke stroke, Geometry geometry, java.lang.String responsibleClass, double min, double max)
fill
- stroke
- geometry
- responsibleClass
- min
- max
- Method Detail |
---|
public Fill getFill()
public void setFill(Fill fill)
fill
- the fill of the polygonpublic Stroke getStroke()
public void setStroke(Stroke stroke)
stroke
- the stroke of the polygonpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String exportAsXML()
exportAsXML
in interface Marshallable
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org