Lab 4
Loading...
Searching...
No Matches
Rectangle Class Reference

#include <rectangle.h>

Inheritance diagram for Rectangle:
Shape

Public Member Functions

 Rectangle (int l, int w)
 
int calculateArea ()
 
void draw () override
 

Constructor & Destructor Documentation

◆ Rectangle()

Rectangle::Rectangle ( int l,
int w )
inline

Member Function Documentation

◆ calculateArea()

int Rectangle::calculateArea ( )
inlinevirtual

Implements Shape.

◆ draw()

void Rectangle::draw ( )
inlineoverridevirtual

Implements Shape.


The documentation for this class was generated from the following file: