public class GraphBackgroundRenderer
extends java.lang.Object
implements org.graphstream.ui.graphicGraph.GraphicElement.SwingElementRenderer
Constructor and Description |
---|
GraphBackgroundRenderer(org.graphstream.ui.graphicGraph.GraphicGraph graph,
org.graphstream.ui.graphicGraph.StyleGroup style) |
Modifier and Type | Method and Description |
---|---|
void |
displayNothingToDo(Backend bck,
int w,
int h)
Render a background indicating there is nothing to draw.
|
protected void |
fillGradient(android.graphics.Canvas g,
android.graphics.Paint p,
org.graphstream.ui.view.camera.DefaultCamera2D camera) |
void |
render(Backend bck,
org.graphstream.ui.view.camera.DefaultCamera2D camera,
int w,
int h) |
public GraphBackgroundRenderer(org.graphstream.ui.graphicGraph.GraphicGraph graph, org.graphstream.ui.graphicGraph.StyleGroup style)
public void displayNothingToDo(Backend bck, int w, int h)
public void render(Backend bck, org.graphstream.ui.view.camera.DefaultCamera2D camera, int w, int h)
protected void fillGradient(android.graphics.Canvas g, android.graphics.Paint p, org.graphstream.ui.view.camera.DefaultCamera2D camera)