Class RoundedSquareShape

All Implemented Interfaces:
Shape

public class RoundedSquareShape
extends RectangularAreaShape
  • Field Details

  • Constructor Details

  • Method Details

    • make

      public void make​(Backend backend, org.graphstream.ui.view.camera.DefaultCamera2D camera)
      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.
      Specified by:
      make in interface Shape
      Overrides:
      make in class RectangularAreaShape
      Parameters:
      backend - The rendering back-end.
      camera - the view parameters.
    • makeShadow

      public void makeShadow​(Backend backend, org.graphstream.ui.view.camera.DefaultCamera2D camera)
      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.
      Specified by:
      makeShadow in interface Shape
      Overrides:
      makeShadow in class RectangularAreaShape
    • theShape

      public java.awt.geom.RectangularShape theShape()
      Overrides:
      theShape in class RectangularAreaShape