Interface

CanvasRenderingContext2D

CanvasRenderingContext2D

The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a element. It is used for drawing shapes, text, images, and other objects.

View Source js/lib.dom.d.ts, line 818