globalAlpha property
The
CanvasRenderingContext2D.globalAlpha
property of the Canvas 2D API specifies the alpha (transparency) value
that is applied
to shapes and images before they are drawn onto the canvas.
Note: See also the chapter Applying styles and color in the Canvas Tutorial.
Implementation
external double get globalAlpha;
Implementation
external set globalAlpha(num value);