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

x/evt/lib/types/index.ts>dom.ImageBitmapRenderingContext

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.ImageBitmapRenderingContext
import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.ts";
const { ImageBitmapRenderingContext } = dom;

Properties

Returns the canvas element that the context is bound to.

Methods

transferFromImageBitmap(bitmap: ImageBitmap | null): void

Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.