Skip to content
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? Transparent Background #4

Closed
chrisjandrade opened this issue Dec 28, 2015 · 2 comments
Closed

clearRect? Transparent Background #4

chrisjandrade opened this issue Dec 28, 2015 · 2 comments

Comments

@chrisjandrade
Copy link

How do you create a canvas with a transparent background? Its currently default to black.

@joshmarinacci
Copy link
Owner

I've just implemented clearRect. Now you can create image then call ctx.clearRect(0,0,width,height) to make it fully transparent.

@chrisjandrade
Copy link
Author

Thanks alot, Appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants