1.2.1 • Published 10 years ago
rect v1.2.1
rect
A library for rectangles.
Usage
Rect takes four arguments x, y, width, and height.
It also has two methods:
perimeter(): returns the perimeter of the rectanglearea(): returns the area of the rectangle