Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dwm/ext/canvas.ts>Canvas#getContext

Deno Window Manager: Cross-platform window creation and management
Go to Latest
method Canvas.prototype.getContext
Re-export
import { Canvas } from "https://deno.land/x/dwm@0.3.4/ext/canvas.ts";

Returns the Rendering Context of the canvas

Parameters

type: "2d"