Fills a rectangle with the given color for the whole canvas.
The canvas context to draw on.
The dimension of the rectangle.
Optional
The base color of the rectangle, if not specified a transparent color will be used.
Fills a rectangle with the given color for the whole canvas.