OffscreenCanvasRenderingContext2D Class
The 2D rendering context of an OffscreenCanvas (https://html.spec.whatwg.org/multipage/canvas.html#offscreencanvasrenderingcontext2d): the same drawing as CanvasRenderingContext2D, without the focus rings; it is available in the workers.
public sealed class OffscreenCanvasRenderingContext2D : CanvasRenderingContext2DBase- Inheritance
CanvasRenderingContext2DBaseOffscreenCanvasRenderingContext2D
Properties
| Name | Description |
|---|---|
| Canvas | Gets the canvas of the context (https://html.spec.whatwg.org/multipage/canvas.html#dom-offscreencontext2d-canvas). |
Gets the canvas of the context (https://html.spec.whatwg.org/multipage/canvas.html#dom-offscreencontext2d-canvas).
public OffscreenCanvas Canvas { get; }