@sepveneto/dao 0.1.3 → 0.1.5

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/dao.js CHANGED
@@ -1210,6 +1210,10 @@ var ShapePath = class {
1210
1210
  setStrokeStyle(j) {
1211
1211
  this._strokeStyle = toStrokeStyle(j, n.defaultStrokeStyle);
1212
1212
  }
1213
+ clear() {
1214
+ return this._activePath.clear(), this.instructions.length = 0, this.onUpdate(), this;
1215
+ }
1216
+ onUpdate() {}
1213
1217
  moveTo(n, j) {
1214
1218
  return this._activePath.moveTo(n, j), this;
1215
1219
  }
@@ -1330,6 +1334,9 @@ var Graphics = class extends ViewContainer {
1330
1334
  get bounds() {
1331
1335
  return this.context.bounds;
1332
1336
  }
1337
+ clear() {
1338
+ return this._callContextMethod("clear", []);
1339
+ }
1333
1340
  }, _GraphicsPipe, GraphicsPipe = class {
1334
1341
  constructor(n) {
1335
1342
  this._renderer = n;