Interface ImageBitmapRenderingContext

    interface ImageBitmapRenderingContext {
        transferFromImageBitmap(bitmap: ImageBitmap): void;
    }

    Methods

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

      MDN Reference

      Parameters

      Returns void