Canvas drawImage()

Hello!

I'm wondering if it's possible to load images to be used in the drawImage() method in canvas API.
When I try to use the new Image() class it throws an error in the console saying:

"TypeError: Image is not a constructor"

Cheers!

Could you help me with this @jean-emmanuel? Thanks!

Currently the Image is not exposed, I have to tinker a bit with that.

The Image constructor will be available as is in next release.

2 Likes

Thanks a lot man!