Rectangle (Shape)

A rectangle is a 2D boundary with two sets of parallel sides.

MemberTypeDescription
heightIntegerThe height of the rectangle.
widthIntegerThe width of the rectangle.