| java.lang.Object org.geotools.renderer.shape.StyledShapePainter
StyledShapePainter | public class StyledShapePainter (Code) | | A simple class that knows how to paint a Shape object onto a Graphic given a
Style2D. It's the last step of the rendering engine, and has been factored
out since both renderers do use the same painting logic.
author: Andrea Aime |
Method Summary | |
public void | paint(Graphics2D graphics, Shape shape, Style2D style, double scale) Invoked automatically when a polyline is about to be draw. |
StyledShapePainter | public StyledShapePainter(LabelCache labelCache)(Code) | | Construct StyledShapePainter .
Parameters: labelCache - DOCUMENT ME! |
paint | public void paint(Graphics2D graphics, Shape shape, Style2D style, double scale)(Code) | | Invoked automatically when a polyline is about to be draw. This
implementation paints the polyline according to the rendered style
Parameters: graphics - The graphics in which to draw. Parameters: shape - The polygon to draw. Parameters: style - The style to apply, or null if none. Parameters: scale - The scale denominator for the current zoom level |
|
|