Class DefaultShapeFigure

All Implemented Interfaces:
Figure, ShapeFigure, Restorable, Cloneable

public class DefaultShapeFigure extends AbstractShapeFigure
  • Constructor Details

  • Method Details

    • getShape

      public Shape getShape()
      Description copied from interface: ShapeFigure
      Gets the shape (geometry) for this figure.
      Returns:
      The shape in model coordinates.
    • setShape

      public void setShape(Shape path)
      Description copied from interface: ShapeFigure
      Sets the shape (geometry) for this figure.
      Parameters:
      path - The shape in model coordinates.
    • clone

      public DefaultShapeFigure clone()
      Specified by:
      clone in interface Figure
      Overrides:
      clone in class AbstractFigure
      Returns:
      A clone of this figure.