Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/shapes_plus/mod.ts>Canvas#getContext

Used canvas library to make shapes
Latest
method Canvas.prototype.getContext
Re-export
import { Canvas } from "https://deno.land/x/shapes_plus@v0.0.5.1/mod.ts";

Returns the Rendering Context of the canvas

Parameters

type: "2d"