ImageBitmapOptions constructor

ImageBitmapOptions({
  1. ColorSpaceConversion? colorSpaceConversion,
  2. ImageOrientation? imageOrientation,
  3. PremultiplyAlpha? premultiplyAlpha,
  4. num? resizeHeight,
  5. ResizeQuality? resizeQuality,
  6. num? resizeWidth,
})

Implementation

factory ImageBitmapOptions({
  _i3.ColorSpaceConversion? colorSpaceConversion,
  _i3.ImageOrientation? imageOrientation,
  _i3.PremultiplyAlpha? premultiplyAlpha,
  _i2.num? resizeHeight,
  _i3.ResizeQuality? resizeQuality,
  _i2.num? resizeWidth,
}) =>
    ImageBitmapOptions._(
      colorSpaceConversion: colorSpaceConversion?.name ?? _i6.undefined,
      imageOrientation: imageOrientation?.name ?? _i6.undefined,
      premultiplyAlpha: premultiplyAlpha?.name ?? _i6.undefined,
      resizeHeight: resizeHeight,
      resizeQuality: resizeQuality?.name ?? _i6.undefined,
      resizeWidth: resizeWidth,
    );