rect
v1.2.1
Published
A library for rectangles.
Downloads
1,466
Readme
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