org.deegree.graphics.displayelements
Class PolygonDisplayElement
java.lang.Object
org.deegree.graphics.displayelements.AbstractDisplayElement
org.deegree.graphics.displayelements.GeometryDisplayElement
org.deegree.graphics.displayelements.PolygonDisplayElement
- All Implemented Interfaces:
- java.io.Serializable, DisplayElement
public class PolygonDisplayElement
- extends GeometryDisplayElement
- implements DisplayElement, java.io.Serializable
DisplayElement
that encapsulates a Surface
or MultiSurface
geometry and a
PolygonSymbolizer
.
- Version:
- $Revision: 21456 $, $Date: 2009-12-15 15:17:33 +0100 (Di, 15 Dez 2009) $
- Author:
- Andreas Poth, last edited by: $Author: aschmitz $
- See Also:
- Serialized Form
Method Summary |
void |
paint(java.awt.Graphics g,
GeoTransform projection,
double scale)
renders the DisplayElement to the submitted graphic context |
Methods inherited from class org.deegree.graphics.displayelements.GeometryDisplayElement |
doesScaleConstraintApply, getGeometry, getHighlightSymbolizer, getSelectedSymbolizer, getSymbolizer, growEnvelope, setGeometry, setHighlightSymbolizer, setPlacement, setSelectedSymbolizer, setSymbolizer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolygonDisplayElement
public PolygonDisplayElement(Feature feature,
Surface geometry)
- Creates a new PolygonDisplayElement object.
- Parameters:
feature
- geometry
-
PolygonDisplayElement
public PolygonDisplayElement(Feature feature,
Surface geometry,
PolygonSymbolizer symbolizer)
- Creates a new PolygonDisplayElement object.
- Parameters:
feature
- geometry
- symbolizer
-
PolygonDisplayElement
public PolygonDisplayElement(Feature feature,
MultiSurface geometry)
- Creates a new PolygonDisplayElement object.
- Parameters:
feature
- geometry
-
PolygonDisplayElement
public PolygonDisplayElement(Feature feature,
MultiSurface geometry,
PolygonSymbolizer symbolizer)
- Creates a new PolygonDisplayElement object.
- Parameters:
feature
- geometry
- symbolizer
-
paint
public void paint(java.awt.Graphics g,
GeoTransform projection,
double scale)
- renders the DisplayElement to the submitted graphic context
- Specified by:
paint
in interface DisplayElement
- Parameters:
g
- projection
- scale
-
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org