Fills a rectangle with the given color for the whole canvas.
The canvas context to draw on.
The dimension of the rectangle.
The image to draw on the rectangle.
The opacity of the image.
Fills a rectangle with the given color for the whole canvas.