Class CircleOnEdge
java.lang.Object
org.graphstream.ui.javafx.renderer.shape.javafx.Area
org.graphstream.ui.javafx.renderer.shape.AreaOnConnector
org.graphstream.ui.javafx.renderer.shape.javafx.baseShapes.AreaOnConnectorShape
org.graphstream.ui.javafx.renderer.shape.javafx.arrowShapes.CircleOnEdge
- All Implemented Interfaces:
Shape
public class CircleOnEdge extends AreaOnConnectorShape
-
Field Summary
Fields inherited from class org.graphstream.ui.javafx.renderer.shape.javafx.baseShapes.AreaOnConnectorShape
fillable, shadowable, strokable
-
Constructor Summary
Constructors Constructor Description CircleOnEdge()
-
Method Summary
Modifier and Type Method Description double
lengthOfCurve(Connector c)
void
make(Backend backend, org.graphstream.ui.view.camera.DefaultCamera2D camera)
Must create the shape from informations given earlier, that is, resize it if needed and position it, and do all the things that are specific to each element, and cannot be done for the group of elements.void
makeShadow(Backend backend, org.graphstream.ui.view.camera.DefaultCamera2D camera)
Same as#make(Camera)
for the shadow shape.void
render(Backend bck, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skeleton)
Render the shape for the given element.void
renderShadow(Backend bck, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skeleton)
Render the shape shadow for the given element.Methods inherited from class org.graphstream.ui.javafx.renderer.shape.javafx.baseShapes.AreaOnConnectorShape
configureForElement, configureForGroup
Methods inherited from class org.graphstream.ui.javafx.renderer.shape.AreaOnConnector
theConnectorYoureAttachedTo
Methods inherited from class org.graphstream.ui.javafx.renderer.shape.javafx.Area
configureAreaForElement, configureAreaForGroup
-
Constructor Details
-
CircleOnEdge
public CircleOnEdge()
-
-
Method Details
-
make
Description copied from interface:Shape
Must create the shape from informations given earlier, that is, resize it if needed and position it, and do all the things that are specific to each element, and cannot be done for the group of elements. This method is made to be called inside the render() method, hence it is protected.- Parameters:
backend
- The rendering back-end.camera
- the view parameters.
-
makeShadow
Description copied from interface:Shape
Same as#make(Camera)
for the shadow shape. The shadow shape may be moved and resized compared to the original shape. This method is made to be called inside the renderShadow() method, hence it is protected. -
render
public void render(Backend bck, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skeleton)Description copied from interface:Shape
Render the shape for the given element.camera
- The view parameters.element
- The element to render.skeleton
- The element geometry and information.
-
lengthOfCurve
-
renderShadow
public void renderShadow(Backend bck, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skeleton)Description copied from interface:Shape
Render the shape shadow for the given element. The shadow is rendered in a different pass than usual rendering, therefore it is a separate method.
-