Skip to main content
Latest
import { type CanvasRenderingContext2D } from "https://deno.land/x/targadactyl@1.2.0/deps.ts";

The CanvasRenderingContext2D export 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.