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