CanvasImageSmoothing constructor

CanvasImageSmoothing({
  1. bool? imageSmoothingEnabled,
  2. ImageSmoothingQuality? imageSmoothingQuality,
})

Implementation

factory CanvasImageSmoothing({
  _i2.bool? imageSmoothingEnabled,
  _i3.ImageSmoothingQuality? imageSmoothingQuality,
}) =>
    CanvasImageSmoothing._(
      imageSmoothingEnabled: imageSmoothingEnabled,
      imageSmoothingQuality: imageSmoothingQuality?.name ?? _i6.undefined,
    );