Class Legend

All Implemented Interfaces:
Draggable, Shape, Serializable, Cloneable

public class Legend extends DraggableRectangle
See Also:
  • Constructor Details

    • Legend

      public Legend(PlotCanvas canvas)
      Create a Legend rectangle
      Parameters:
      canvas - the parent plot canvas
  • Method Details

    • draw

      public void draw(Graphics g)
      Draw the legend
      Parameters:
      g - the graphics context