CanvasImageData constructor

CanvasImageData({
  1. ImageData getImageData(
    1. num,
    2. num,
    3. num,
    4. num, [
    5. ImageDataSettings?,
    ])?,
})

Implementation

factory CanvasImageData(
        {_i3.ImageData Function(
          _i2.num,
          _i2.num,
          _i2.num,
          _i2.num, [
          _i3.ImageDataSettings?,
        ])? getImageData}) =>
    CanvasImageData._(
        getImageData:
            getImageData == null ? null : _i4.allowInterop(getImageData));