public interface LayerRenderer
org.graphstream.ui.view.View#setForeLayoutRenderer(LayerRenderer),
org.graphstream.ui.view.View#setBackLayerRenderer(LayerRenderer)| Modifier and Type | Method and Description |
|---|---|
void |
render(Graphics2D graphics,
GraphicGraph graph,
double px2Gu,
int widthPx,
int heightPx,
double minXGu,
double minYGu,
double maxXGu,
double maxYGu)
Render something under or above the graph.
|
void render(Graphics2D graphics, GraphicGraph graph, double px2Gu, int widthPx, int heightPx, double minXGu, double minYGu, double maxXGu, double maxYGu)
graphics - The Swing graphics.graph - The graphic representation of the graph.px2Gu - The ratio to pass from pixels to graph units.widthPx - The width in pixels of the view port.heightPx - The height in pixels of the view port.minXGu - The minimum visible point abscissa of the graph in graph
units.minYGu - The minimum visible point ordinate of the graph in graph
units.maxXGu - The maximum visible point abscissa of the graph in graph
units.maxYGu - The maximum visible point ordinate of the graph in graph
units.Copyright © 2015. All rights reserved.