createImageBitmap method
Future<ImageBitmap>
createImageBitmap(
- dynamic image, [
- int? sx,
- int? sy,
- int? sw,
- int? sh,
- ImageBitmapOptions? options,
Implementation
Future<ImageBitmap> createImageBitmap(dynamic image,
[int? sx, int? sy, int? sw, int? sh, ImageBitmapOptions? options]) =>
js_util.promiseToFuture(js_util.callMethod(
this, 'createImageBitmap', [image, sx, sy, sw, sh, options]));