Canvas Cheat Sheet

HTML5 Canvas Cheat Sheet

HTML5 Canvas Global Alpha Tutorial

Discussion

To set the opacity of elements with the HTML5 Canvas, we can set the globalAlpha property of the canvas context to a real number between 0 and 1, in which 0 is fully transparent and 1 is fully opaque.

comments powered by Disqus