| Package | Description | 
|---|---|
| org.graphstream.ui.graphicGraph | |
| org.graphstream.ui.view.camera | 
| Modifier and Type | Method and Description | 
|---|---|
GraphicSprite | 
GraphicGraph.addSprite(java.lang.String id)  | 
GraphicSprite | 
StyleGroupSet.getSprite(java.lang.String id)
Get a sprite element knowing its identifier. 
 | 
GraphicSprite | 
GraphicGraph.getSprite(java.lang.String id)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Iterator<? extends GraphicSprite> | 
StyleGroupSet.getSpriteIterator()
Iterator on the set of sprite. 
 | 
java.util.stream.Stream<GraphicSprite> | 
StyleGroupSet.sprites()  | 
java.util.stream.Stream<GraphicSprite> | 
GraphicGraph.sprites()  | 
| Modifier and Type | Method and Description | 
|---|---|
StyleGroup | 
StyleGroupSet.getStyleFor(GraphicSprite sprite)
Get the style of a given sprite. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Point3 | 
DefaultCamera2D.getSpritePosition(GraphicSprite sprite,
                 Point3 pos,
                 StyleConstants.Units units)
Compute the real position of a sprite according to its eventual attachment in
 graph units. 
 | 
Point3 | 
DefaultCamera2D.getSpritePositionEdge(GraphicSprite sprite,
                     Point3 position,
                     StyleConstants.Units units)  | 
Point3 | 
DefaultCamera2D.getSpritePositionFree(GraphicSprite sprite,
                     Point3 position,
                     StyleConstants.Units units)  | 
Point3 | 
DefaultCamera2D.getSpritePositionNode(GraphicSprite sprite,
                     Point3 position,
                     StyleConstants.Units units)
Compute the position of a sprite if attached to a node. 
 | 
boolean | 
DefaultCamera2D.isSpriteIn(GraphicSprite sprite,
          double X1,
          double Y1,
          double X2,
          double Y2)
Is the given sprite visible in the given area. 
 | 
boolean | 
DefaultCamera2D.isSpriteVisible(GraphicSprite sprite)
Check if a sprite is visible in the current view port. 
 | 
Point3 | 
DefaultCamera2D.spritePositionPx(GraphicSprite sprite)  |