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