DrawClearRect
Callable
Parameters
Canvas: CanvasRenderingContext2D
The canvas on which to clear rect
x: number
Position of the image on the X axis
y: number
Position of the image on the Y axis
width: number
Width of the rectangle to clear
height: number
Height of the rectangle to clear
Returns void
- Nothing
Clears a rectangle on a canvas