Rectangle method
Create a Rectangle object.
Syntax
obj = Rectangle(left, top, width, height)
Parameters
- left
- Type:int
- The left edge of the rectangular region.
- top
- Type:int
- The top edge of the rectangular region.
- width
- Type:int
- The width of the rectangular region.
- height
- Type:int
- The height of the rectangular region.
Return value
- Type: None