Web features explorer

2D canvas opacity

Limited availability
Tags: api Groups: Canvas

The optional alpha parameter of a 2D canvas's getContext() method sets whether the canvas has an alpha transparency channel. If set to false, then this permits the browser to optimize compositing for an opaque canvas.

Compatibility

Specifications

BCD data