CanvasRenderingContext2D Class
The 2D rendering context of a canvas element (https://html.spec.whatwg.org/multipage/canvas.html#canvasrenderingcontext2d): canvas.getContext("2d"). The drawing is rasterized by the rendering backend of the browsing context; the bitmap is painted in the box of the canvas.
public sealed class CanvasRenderingContext2D : CanvasRenderingContext2DBase- Inheritance
CanvasRenderingContext2DBaseCanvasRenderingContext2D
Properties
| Name | Description |
|---|---|
| Canvas | Gets the canvas element of the context (https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-canvas). |
Gets the canvas element of the context (https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-canvas).
public HtmlCanvasElement Canvas { get; }