Package org.geotools.renderer
Interface Renderer
public interface Renderer
Base interface for renderer. This is very much work in progress. Note: this interface will changes in future
versions.
- Author:
- James Macgill
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for property interactive.pixelToWorld
(int x, int y, Envelope map) void
render
(FeatureCollection<? extends FeatureType, ? extends Feature> fc, Envelope viewport, Style style) Renders the provided features using the specified style.void
setInteractive
(boolean interactive) Setter for property interactive.void
sets the output graphics for the renderer and the size of the graphic.
-
Method Details
-
render
void render(FeatureCollection<? extends FeatureType, ? extends Feature> fc, Envelope viewport, Style style) Renders the provided features using the specified style. The features should fill the viewport but may well extend beyond it. Features should be cropped (if appropriate) to the specified viewport.- Parameters:
fc
- The feature collection to renderviewport
- The visible extent to be renderedstyle
- The style definition to apply to each feature
-
isInteractive
boolean isInteractive()Getter for property interactive.- Returns:
- Value of property interactive.
-
setInteractive
void setInteractive(boolean interactive) Setter for property interactive.- Parameters:
interactive
- New value of property interactive.
-
setOutput
sets the output graphics for the renderer and the size of the graphic. -
pixelToWorld
-