DrawRect
Callable
Parameters
Left: number
Position of the rectangle from the left of the canvas
Top: number
Position of the rectangle from the top of the canvas
Width: number
Width of the rectangle
Height: number
Height of the rectangle
Color: string
Color of the rectangle
Returns void
- Nothing
Draws a basic rectangle filled with a given color