cropOval static method

Future<Uint8List> cropOval({
  1. required Uint8List bytes,
  2. required int x,
  3. required int y,
  4. required int width,
  5. required int height,
  6. ImageFormat format = ImageFormat.jpg,
})

Completes with a Uint8List of the cropped bytes in an oval shape.

Implementation

static Future<Uint8List> cropOval({
  required Uint8List bytes,
  required int x,
  required int y,
  required int width,
  required int height,
  ImageFormat format = ImageFormat.jpg,
}) =>
    NativeImageCropperPlatform.instance.cropOval(
      bytes: bytes,
      x: x,
      y: y,
      width: width,
      height: height,
      format: format,
    );