HTML5 Canvas Global Alpha Tutorial
Description
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.
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.