Clearing the screen
suggest changeSyntax
- void clearRect(x, y, width, height)
- ImageData createImageData(width, height)
Remarks
None of these methods will produce transparent pixels if the context was created with the alpha: false
parameter.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents