globalAlpha property

double get globalAlpha

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;
set globalAlpha (num value)

Implementation

external set globalAlpha(num value);