import java.awt.Graphics;

/**
 * This interface represents shapes that know how to draw themselves into a
 * canvas.
 */
interface Shape {
  /**
   * Draws this shape into the canvas of the Graphics object.
   * @param g the object that represents the screen where the shape will be
   * drawn.
   */
  void draw(Graphics g);
}
