public interface Backend
extends org.graphstream.ui.view.camera.Backend
Modifier and Type | Method and Description |
---|---|
Shape |
chooseEdgeArrowShape(Shape oldShape,
org.graphstream.ui.graphicGraph.StyleGroup group) |
Shape |
chooseEdgeShape(Shape oldShape,
org.graphstream.ui.graphicGraph.StyleGroup group) |
GraphBackgroundRenderer |
chooseGraphBackgroundRenderer() |
Shape |
chooseNodeShape(Shape oldShape,
org.graphstream.ui.graphicGraph.StyleGroup group) |
Shape |
chooseSpriteShape(Shape oldShape,
org.graphstream.ui.graphicGraph.StyleGroup group) |
void |
close()
Called after finished using this object.
|
android.view.SurfaceView |
drawingSurface()
The drawing surface.
|
android.graphics.Matrix |
getMatrix()
Access to currentTransform
|
android.graphics.Matrix |
getMatrixSurface() |
android.graphics.Paint |
getPaint()
The brush for Canvas
|
android.graphics.Canvas |
graphics2D()
The Java2D graphics.
|
void |
open(android.view.SurfaceView drawingSurface)
Called before any prior use of this back-end.
|
void |
prepareNewFrame(android.graphics.Canvas g2)
Setup the back-end for a new rendering session.
|
void |
setMatrix(android.graphics.Matrix m) |
void open(android.view.SurfaceView drawingSurface)
void close()
void prepareNewFrame(android.graphics.Canvas g2)
android.graphics.Canvas graphics2D()
android.graphics.Paint getPaint()
Shape chooseNodeShape(Shape oldShape, org.graphstream.ui.graphicGraph.StyleGroup group)
Shape chooseEdgeShape(Shape oldShape, org.graphstream.ui.graphicGraph.StyleGroup group)
Shape chooseEdgeArrowShape(Shape oldShape, org.graphstream.ui.graphicGraph.StyleGroup group)
Shape chooseSpriteShape(Shape oldShape, org.graphstream.ui.graphicGraph.StyleGroup group)
GraphBackgroundRenderer chooseGraphBackgroundRenderer()
android.view.SurfaceView drawingSurface()
android.graphics.Matrix getMatrix()
android.graphics.Matrix getMatrixSurface()
void setMatrix(android.graphics.Matrix m)