Skip to main content
Module

x/skia_canvas/mod.ts>Canvas#getContext

Fast HTML Canvas API implementation for Deno using Google Skia
Latest
method Canvas.prototype.getContext
Re-export
import { Canvas } from "https://deno.land/x/skia_canvas@0.5.6/mod.ts";

Returns the Rendering Context of the canvas

Parameters

type: "2d"