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 12: ( 13: int newHeight, 14: int newWidth 15: ); 16: }