Skip to main content
Module

x/evt/lib/types/lib.dom.ts>CanvasRenderingContext2D

💧EventEmitter's typesafe replacement
Go to Latest
import { type CanvasRenderingContext2D } from "https://deno.land/x/evt@v2.4.3/lib/types/lib.dom.ts";

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.