|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Renderer
Base interface for renderer. This is very much work in progress. Note: this interface will changes in future versions.
Method Summary | |
---|---|
boolean |
isInteractive()
Getter for property interactive. |
com.vividsolutions.jts.geom.Coordinate |
pixelToWorld(int x,
int y,
com.vividsolutions.jts.geom.Envelope map)
|
void |
render(FeatureCollection<? extends org.opengis.feature.type.FeatureType,? extends org.opengis.feature.Feature> fc,
com.vividsolutions.jts.geom.Envelope viewport,
Style style)
Renders the provided features using the specified style. |
void |
setInteractive(boolean interactive)
Setter for property interactive. |
void |
setOutput(java.awt.Graphics g,
java.awt.Rectangle r)
sets the output graphics for the renderer and the size of the graphic. |
Method Detail |
---|
void render(FeatureCollection<? extends org.opengis.feature.type.FeatureType,? extends org.opengis.feature.Feature> fc, com.vividsolutions.jts.geom.Envelope viewport, Style style)
fc
- The feature collection to renderviewport
- The visible extent to be renderedstyle
- The style definition to apply to each featureboolean isInteractive()
void setInteractive(boolean interactive)
interactive
- New value of property interactive.void setOutput(java.awt.Graphics g, java.awt.Rectangle r)
com.vividsolutions.jts.geom.Coordinate pixelToWorld(int x, int y, com.vividsolutions.jts.geom.Envelope map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |