Skip to content

ImageBitmapRenderingContext

Values

transferFromImageBitmap

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

let transferFromImageBitmap: (
WebAPI.CanvasAPI.imageBitmapRenderingContext,
WebAPI.CanvasAPI.imageBitmap,
) => unit