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

x/canvas/types.ts>GrContext

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/types.ts";

See GrContext.h for more on this class.

Methods

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