@@ -0,0 +1,1219 @@
+import java.awt.*;%0A/**%0A * This is an interface class%0A * @author Aayush Shah%0A */%0Apublic interface Shape%7B%0A  /**%0A   * Checking if point is on shape or not%0A   * @param x -- The X coordinate%0A   * @param y -- The Y Coordinate%0A   * @return true is yes, false otherwise%0A   */ %0A  public boolean isOn(int x, int y);%0A  %0A  /** %0A   * Boolean method check if selected%0A   * @return true if selected, false otherwise%0A   */ %0A  public boolean isSelected();%0A  %0A  /**%0A   * get method for color%0A   * @return the color of shape%0A   */%0A  public Color getColor();%0A  %0A  /**%0A   * Set method for color%0A   * @param c The color%0A   */%0A  public void setColor(Color c);%0A  /**%0A   * Setter method %0A   * @param b The boolean value%0A   */%0A  public void setSelected(boolean b); %0A  %0A  /**%0A   * Shifting by x pixels%0A   * @param deltaX The x Coodrinate for shifting%0A   * @param deltaY The y coordinate for shifting%0A   */ %0A  public void shiftUpperLeftBy(int deltaX, int deltaY);%0A  %0A  /**%0A   * moving by x pixels%0A   * @param newX The x Coodrinate for moving%0A   * @param newY The y coordinate for moving%0A   */%0A  public void moveUpperLeftTo(int newX, int newY);  %0A  /**%0A   * ToString method%0A   * @return string representation%0A   */ %0A  public String toString();%0A  %0A%7D

Add files via upload