createImageBitmap
abstract fun createImageBitmap(
image: ImageBitmapSource,
options: ImageBitmapOptions = definedExternally
): Promise<ImageBitmap>
(source)
abstract fun createImageBitmap(
image: ImageBitmapSource,
sx: Int,
sy: Int,
sw: Int,
sh: Int,
options: ImageBitmapOptions = definedExternally
): Promise<ImageBitmap>
(source)