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