FunctionsDrawClearRectDrawClearRect CallableDrawClearRect(Canvas: CanvasRenderingContext2D, x: number, y: number, width: number, height: number): voidClears a rectangle on a canvasParametersCanvas: CanvasRenderingContext2DThe canvas on which to clear rectx: numberPosition of the image on the X axisy: numberPosition of the image on the Y axiswidth: numberWidth of the rectangle to clearheight: numberHeight of the rectangle to clearReturns voidNothing
Clears a rectangle on a canvas