import { type EmulatedCanvas2D } from "https://deno.land/x/canvas@v1.4.1/mod.ts";
Methods
getContext(type: "2d"): EmulatedCanvas2DContext
Returns an emulated canvas2d context if type == '2d', null otherwise.
import { type EmulatedCanvas2D } from "https://deno.land/x/canvas@v1.4.1/mod.ts";
Returns an emulated canvas2d context if type == '2d', null otherwise.