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

x/canvas/mod.ts>CanvasUserInterface

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

Methods

drawFocusIfNeeded(element: Element): void
drawFocusIfNeeded(path: Path2D, element: Element): void
scrollPathIntoView(): void
scrollPathIntoView(path: Path2D): void