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.
package/dist/index.dev.js CHANGED
@@ -3133,10 +3133,11 @@ var mutatorClear = ((writer, deps = defaults12) => {
3133
3133
  x = 0,
3134
3134
  y = 0,
3135
3135
  w = writer.target.width,
3136
- h = writer.target.height
3136
+ h = writer.target.height,
3137
+ mask = void 0
3137
3138
  } = rect;
3138
3139
  writer.accumulator.storeRegionBeforeState(x, y, w, h);
3139
- fillPixelData2(writer.target, 0, x, y, w, h);
3140
+ fillPixelData2(writer.target, 0, x, y, w, h, mask);
3140
3141
  }
3141
3142
  };
3142
3143
  });
@@ -3155,10 +3156,11 @@ var mutatorFill = ((writer, deps = defaults13) => {
3155
3156
  x = 0,
3156
3157
  y = 0,
3157
3158
  w = writer.target.width,
3158
- h = writer.target.height
3159
+ h = writer.target.height,
3160
+ mask = void 0
3159
3161
  } = rect;
3160
3162
  writer.accumulator.storeRegionBeforeState(x, y, w, h);
3161
- fillPixelData2(writer.target, color, x, y, w, h);
3163
+ fillPixelData2(writer.target, color, x, y, w, h, mask);
3162
3164
  }
3163
3165
  };
3164
3166
  });