transferToImageBitmap method

ImageBitmap transferToImageBitmap()

The OffscreenCanvas.transferToImageBitmap() method creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The OffscreenCanvas allocates a new image for its subsequent rendering.

Implementation

external ImageBitmap transferToImageBitmap();