pixel-data-js 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3326,10 +3326,11 @@ var mutatorClear = ((writer, deps = defaults12) => {
3326
3326
  x = 0,
3327
3327
  y = 0,
3328
3328
  w = writer.target.width,
3329
- h = writer.target.height
3329
+ h = writer.target.height,
3330
+ mask = void 0
3330
3331
  } = rect;
3331
3332
  writer.accumulator.storeRegionBeforeState(x, y, w, h);
3332
- fillPixelData2(writer.target, 0, x, y, w, h);
3333
+ fillPixelData2(writer.target, 0, x, y, w, h, mask);
3333
3334
  }
3334
3335
  };
3335
3336
  });
@@ -3348,10 +3349,11 @@ var mutatorFill = ((writer, deps = defaults13) => {
3348
3349
  x = 0,
3349
3350
  y = 0,
3350
3351
  w = writer.target.width,
3351
- h = writer.target.height
3352
+ h = writer.target.height,
3353
+ mask = void 0
3352
3354
  } = rect;
3353
3355
  writer.accumulator.storeRegionBeforeState(x, y, w, h);
3354
- fillPixelData2(writer.target, color, x, y, w, h);
3356
+ fillPixelData2(writer.target, color, x, y, w, h, mask);
3355
3357
  }
3356
3358
  };
3357
3359
  });