1: //RectangleInterface.java 2: 3: /** Interface for a rectangle to be drawn on the screen. */ 4: public interface RectangleInterface extends ShapeInterface 5: { 6: /** Sets the rectangle's dimensions. */ 7: public void set(int newHeight, int newWidth); 8: } 9: