ImageBitmap
NOTE: ImageBitmap is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
The ImageBitmap object is generated by the transferToImageBitmap() method of the OffscreenCanvas and stores the pixel data rendered on the OffscreenCanvas.
Attributes
Name | Type | Description |
---|---|---|
width | number | Pixel width of the ImageBitmap object. |
height | number | Pixel height of the ImageBitmap object. |