Class LineConnectorShape

java.lang.Object
All Implemented Interfaces:
Shape
Direct Known Subclasses:
CubicCurveShape, FreePlaneEdgeShape, HorizontalSquareEdgeShape, LineShape, LSquareEdgeShape, PolylineEdgeShape

public abstract class LineConnectorShape
extends ConnectorShape
  • Field Details

  • Constructor Details

  • Method Details

    • configureForGroup

      public void configureForGroup​(Backend bck, org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera)
      Description copied from interface: Shape
      Configure as much as possible the graphics before painting several version of this shape at different positions.
      Specified by:
      configureForGroup in interface Shape
      Overrides:
      configureForGroup in class ConnectorShape
      Parameters:
      bck - The rendering back-end.
      style - The style for the group.
      camera - the view parameters.
    • configureForElement

      public void configureForElement​(Backend bck, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skel, org.graphstream.ui.view.camera.DefaultCamera2D camera)
      Description copied from interface: Shape
      Configure all the dynamic and per element settings. Some configurations can only be done before painting the element, since they change for each element.
      Specified by:
      configureForElement in interface Shape
      Overrides:
      configureForElement in class ConnectorShape
      Parameters:
      bck - The rendering back-end.
      element - The specific element to render.
      skel - The element geometry and information.
      camera - the view parameters.