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

x/canvas/src/types.ts>CanvasUserInterface

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

Methods

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