| org.geotools.renderer.Renderer2D
Renderer2D | public interface Renderer2D (Code) | | Renderer draws a map on behalf on MapPane . It determines what features to draw,
bounding box, size, and style from the
.
author: Cameron Shorter version: $Id: Renderer2D.java 20874 2006-08-07 10:00:01Z jgarnett $ |
Method Summary | |
public void | paint(Graphics2D graphics, Rectangle paintArea, AffineTransform transform) Render features based on the
org.geotools.map.LayerList ,
bounding box and
org.geotools.styling.Style specified in
the
.
Parameters: graphics - The graphics handler to draw to. Parameters: paintArea - The bounds of the output area in output units (usually pixels).The upper left corner is (0,0) in most cases. |
paint | public void paint(Graphics2D graphics, Rectangle paintArea, AffineTransform transform)(Code) | | Render features based on the
org.geotools.map.LayerList ,
bounding box and
org.geotools.styling.Style specified in
the
.
Parameters: graphics - The graphics handler to draw to. Parameters: paintArea - The bounds of the output area in output units (usually pixels).The upper left corner is (0,0) in most cases. However, a different valueis allowed if some widget area must be preserved, for example a margin onthe left and top size for painting a graduation. Parameters: transform - A transform which converts "World coordinates" to outputcoordinates.This transform will be concatenated to the graphics transform (as ofgraphics.Graphics2D.transform(AffineTransform) transform(transform) )before the rendering take place. |
|
|