Source of RectangleInterface.java


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