Package org.geotools.renderer
Interface Renderer2D
-
public interface Renderer2D
Renderer draws a map on behalf onMapPane
. It determines what features to draw, bounding box, size, and style from the context.- Author:
- Cameron Shorter
- TODO:
- REVISIT Renderer2D should extend Renderer once Renderer has been cleaned up.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
paint(Graphics2D graphics, Rectangle paintArea, AffineTransform transform)
Render features based on theorg.geotools.map.LayerList
, bounding box andorg.geotools.styling.Style
specified in the context.
-
-
-
Method Detail
-
paint
void paint(Graphics2D graphics, Rectangle paintArea, AffineTransform transform)
Render features based on theorg.geotools.map.LayerList
, bounding box andorg.geotools.styling.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 thegraphics
transform (as ofgraphics.
) before the rendering take place.transform
(transform)
-
-