Class Orientable
java.lang.Object
org.graphstream.ui.javafx.renderer.shape.Orientable
public class Orientable extends Object
Trait for all shapes that points at a direction.
-
Field Summary
Fields Modifier and Type Field Description org.graphstream.ui.geom.Point3
target
The shape target. -
Constructor Summary
Constructors Constructor Description Orientable()
-
Method Summary
Modifier and Type Method Description void
configureOrientableForElement(org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicSprite sprite)
Compute the orientation vector for the given element according to the orientation mode.void
configureOrientableForGroup(org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera)
Configure the orientation mode for the group according to the style.
-
Field Details
-
target
public org.graphstream.ui.geom.Point3 targetThe shape target.
-
-
Constructor Details
-
Orientable
public Orientable()
-
-
Method Details
-
configureOrientableForGroup
public void configureOrientableForGroup(org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera)Configure the orientation mode for the group according to the style. -
configureOrientableForElement
public void configureOrientableForElement(org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicSprite sprite)Compute the orientation vector for the given element according to the orientation mode.
-