Source of RectangleInterface.java


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