org.deegree.rendering.r2d
Class Java2DRenderer
java.lang.Object
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 $
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)
|
transform(T g)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graphics
Graphics2D graphics
worldToScreen
AffineTransform worldToScreen
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
-
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)
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>