org.geotools.renderer
Interface Renderer2D

All Known Implementing Classes:
LiteRenderer, LiteRenderer2, Renderer

public interface Renderer2D

Renderer draws a map on behalf on MapPane. It determines what features to draw, bounding box, size, and style from the context.

Version:
$Id: Renderer2D.java 17703 2006-01-23 00:12:44Z desruisseaux $
Author:
Cameron Shorter
Task:
REVISIT Renderer2D should extend Renderer once Renderer has been cleaned up.

Method Summary
 void paint(java.awt.Graphics2D graphics, java.awt.Rectangle paintArea, java.awt.geom.AffineTransform transform)
          Render features based on the org.geotools.map.LayerList, bounding box and Style specified in the context.
 

Method Detail

paint

public void paint(java.awt.Graphics2D graphics,
                  java.awt.Rectangle paintArea,
                  java.awt.geom.AffineTransform transform)
Render features based on the org.geotools.map.LayerList, bounding box and Style specified in the context.

Parameters:
graphics - The graphics handler to draw to.
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 value is allowed if some widget area must be preserved, for example a margin on the left and top size for painting a graduation.
transform - A transform which converts "World coordinates" to output coordinates. This transform will be concatenated to the graphics transform (as of graphics.transform(transform)) before the rendering take place.


Copyright © GeoTools. All Rights Reserved.