Skip to main content
Module

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

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

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.