MCPcopy
hub / github.com/pyodide/pyodide / CanvasInterface

Interface CanvasInterface

src/js/canvas.ts:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6 * @hidden
7 */
8export interface CanvasInterface {
9 setCanvas2D(canvas: HTMLCanvasElement): void;
10 getCanvas2D(): HTMLCanvasElement | undefined;
11 setCanvas3D(canvas: HTMLCanvasElement): void;
12 getCanvas3D(): HTMLCanvasElement | undefined;
13}
14
15// We define methods here to make sphinx-js generate documentation for them.
16

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…