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: (
CanvasTypes.imageBitmapRenderingContext,
CanvasTypes.imageBitmap,
) => unit

Parameters

CanvasTypes.imageBitmapRenderingContext CanvasTypes.imageBitmap

Return type

unit