Class Shape

java.lang.Object
smile.plot.swing.Shape
Direct Known Subclasses:
Bar, Isoline, Label, Line, Plot, Point, Staircase

public abstract class Shape extends Object
Abstract rendering object in a PlotCanvas.
  • Constructor Details

    • Shape

      public Shape()
      Constructor.
    • Shape

      public Shape(Color color)
      Constructor.
  • Method Details

    • paint

      public abstract void paint(Graphics g)
      Draws the shape.