Module

x/canvas/mod.ts

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface GrContext
implements EmbindObject<GrContext>
import { type GrContext } from "https://deno.land/x/canvas@v1.0.0/mod.ts";

See GrContext.h for more on this class.

Methods

getResourceCacheLimitBytes(): number
getResourceCacheUsageBytes(): number
releaseResourcesAndAbandonContext(): void
setResourceCacheLimitBytes(bytes: number): void