Namespace: 2D
Rendering.2D
Classes
Type Definitions
ContextAttributes2D
Defines 2D context attributes
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
alpha | boolean | <optional> | true | Boolean that indicates if the canvas contains an alpha channel. If set to false, the browser now knows that the backdrop is always opaque, which can speed up drawing of transparent content and images. |
desynchronized | boolean | <optional> | false | Boolean that hints the user agent to reduce the latency by desynchronizing the canvas paint cycle from the event loop. |