-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clearRect is drawing white instead of clearing to transparent #70
Comments
I too have experienced this problem. |
kaldrenon, using ctx.__clearCanvas() should work! |
Yup, this is definitely unexpected behavior. The Mozilla docs state that clearRect should set the pixels in the area to transparent back. Why set to white when clearCanvas exists? |
23 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A clear HTML5 canvas should have nothing on it. In my usage, calling ```ctx.clearRect(0, 0, this.canvasWidth, this.canvasHeight)
The text was updated successfully, but these errors were encountered: