Clearing the screen

suggest change

Syntax

Remarks

clearRect fills with opaque black if the context was created with { alpha: false }. createImageData only allocates a buffer; it does not paint the canvas.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents