1  #ifndef RECTANGLE_H
  2  #define RECTANGLE_H
  3  #include "AbstractGeometricObject.h"
  4  
  5  class Rectangle: public GeometricObject
  6  {
  7  public:
  8    Rectangle();
  9    Rectangle(double width, double height);
 10    Rectangle(double width, double height, const string& color, bool filled);
 11    double getWidth() const;
 12    void setWidth(double);
 13    double getHeight() const;
 14    void setHeight(double);
 15    double getArea() const;
 16    double getPerimeter() const;
 17  
 18  private:
 19    double width;
 20    double height;
 21  };  // Must place semicolon here
 22  
 23  #endif