Skip to main content

Namespace: 2D

Rendering.2D

Classes

Brush2D

BrushPrototype

InkCanvas2D

OffscreenLayer2D

RenderingContext2D

ShapeFactory

StrokeRenderer2D

Type Definitions

ContextAttributes2D

Defines 2D context attributes

Properties:
NameTypeAttributesDefaultDescription
alphaboolean<optional>trueBoolean 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.
desynchronizedboolean<optional>falseBoolean that hints the user agent to reduce the latency by desynchronizing the canvas paint cycle from the event loop.

Home