Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ImageBitmapRenderingContext

interface ImageBitmapRenderingContext {
readonly canvas: HTMLCanvasElement;
transferFromImageBitmap(bitmap: ImageBitmap | null): void;
}
var ImageBitmapRenderingContext: {};

§Properties

§
readonly canvas: HTMLCanvasElement
[src]

Returns the canvas element that the context is bound to.

§Methods

§
transferFromImageBitmap(bitmap: ImageBitmap | null): void
[src]

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