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: 
 - Serializable, DisplayElement
 
public class PolygonDisplayElement
- extends GeometryDisplayElement
- implements DisplayElement, Serializable
  
DisplayElement that encapsulates a Surface or MultiSurface geometry and a
 PolygonSymbolizer.
- Version:
 
  - $Revision: 7624 $, $Date: 2007-06-22 16:24:02 +0200 (Fr, 22 Jun 2007) $
 
- Author:
 
  - Andreas Poth, last edited by: $Author: apoth $
 
- See Also:
 - Serialized Form
 
 
 
 
 
| 
Method Summary | 
 void | 
paint(Graphics g,
           GeoTransform projection,
           double scale)
 
          renders the DisplayElement to the submitted graphic context | 
 
 
 
| 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(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://deegree.sourceforge.net