Class PolygonalShape

java.lang.Object
All Implemented Interfaces:
Shape
Direct Known Subclasses:
CrossShape, DiamondShape, PolygonShape, SpriteArrowShape, TriangleShape

public abstract class PolygonalShape
extends AreaShape
  • Field Details

  • Constructor Details

  • Method Details

    • renderShadow

      public void renderShadow​(Backend bck, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skel)
      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.
    • render

      public void render​(Backend bck, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skel)
      Description copied from interface: Shape
      Render the shape for the given element.
      camera - The view parameters.
      element - The element to render.
      skel - The element geometry and information.
    • theShape

      public java.awt.geom.Path2D.Double theShape()