deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.rendering.r2d
Class Java2DRenderer

java.lang.Object
  extended by org.deegree.rendering.r2d.Java2DRenderer
All Implemented Interfaces:
Renderer

public class Java2DRenderer
extends Object
implements Renderer

Java2DRenderer

Version:
$Revision: 22703 $, $Date: 2010-02-23 14:51:25 +0100 (Di, 23 Feb 2010) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Field Summary
(package private)  Graphics2D graphics
           
(package private)  AffineTransform worldToScreen
           
 
Constructor Summary
Java2DRenderer(Graphics2D graphics)
           
Java2DRenderer(Graphics2D graphics, int width, int height, Envelope bbox)
           
Java2DRenderer(Graphics2D graphics, int width, int height, Envelope bbox, double pixelSize)
           
 
Method Summary
(package private)  void applyFill(Fill fill, UOM uom)
           
(package private)  void applyGraphicFill(Graphic graphic, UOM uom)
           
(package private)  void applyStroke(Stroke stroke, UOM uom, Shape object, double perpendicularOffset, PerpendicularOffsetType type)
           
(package private)  double considerUOM(double in, UOM uom)
           
(package private)  Path2D.Double fromCurve(Curve curve)
           
 void render(LineStyling styling, Geometry geom)
           
 void render(PointStyling styling, Geometry geom)
           
 void render(PolygonStyling styling, Geometry geom)
           
 void render(Styling styling, Geometry geom)
           
(package private)
<T> T
transform(T g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graphics

Graphics2D graphics

worldToScreen

AffineTransform worldToScreen
Constructor Detail

Java2DRenderer

public Java2DRenderer(Graphics2D graphics,
                      int width,
                      int height,
                      Envelope bbox,
                      double pixelSize)
Parameters:
graphics -
width -
height -
bbox -
pixelSize - in mm

Java2DRenderer

public Java2DRenderer(Graphics2D graphics,
                      int width,
                      int height,
                      Envelope bbox)
Parameters:
graphics -
width -
height -
bbox -

Java2DRenderer

public Java2DRenderer(Graphics2D graphics)
Parameters:
graphics -
Method Detail

applyGraphicFill

void applyGraphicFill(Graphic graphic,
                      UOM uom)

applyFill

void applyFill(Fill fill,
               UOM uom)

applyStroke

void applyStroke(Stroke stroke,
                 UOM uom,
                 Shape object,
                 double perpendicularOffset,
                 PerpendicularOffsetType type)

transform

<T> T transform(T g)

render

public void render(PointStyling styling,
                   Geometry geom)
Specified by:
render in interface Renderer

fromCurve

Path2D.Double fromCurve(Curve curve)

render

public void render(LineStyling styling,
                   Geometry geom)
Specified by:
render in interface Renderer

render

public void render(PolygonStyling styling,
                   Geometry geom)
Specified by:
render in interface Renderer

render

public void render(Styling styling,
                   Geometry geom)
Specified by:
render in interface Renderer

considerUOM

final double considerUOM(double in,
                         UOM uom)

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>