@leafer-draw/worker 2.2.6 → 2.2.8

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.
@@ -4814,7 +4814,7 @@ const matrix = {}, {round: round} = Math;
4814
4814
  const LeafHelper = {
4815
4815
  updateAllMatrix(leaf, checkAutoLayout, waitAutoLayout) {
4816
4816
  if (checkAutoLayout && leaf.__hasAutoLayout && leaf.__layout.matrixChanged) waitAutoLayout = true;
4817
- updateMatrix$2(leaf, checkAutoLayout, waitAutoLayout);
4817
+ updateMatrix$1(leaf, checkAutoLayout, waitAutoLayout);
4818
4818
  if (leaf.isBranch) {
4819
4819
  const {children: children} = leaf;
4820
4820
  for (let i = 0, len = children.length; i < len; i++) {
@@ -4835,9 +4835,10 @@ const LeafHelper = {
4835
4835
  if (layout.matrixChanged) leaf.__updateLocalMatrix();
4836
4836
  if (!layout.waitAutoLayout) leaf.__updateWorldMatrix();
4837
4837
  },
4838
- updateBounds(leaf) {
4838
+ updateBounds(leaf, noUpdateSize) {
4839
4839
  const layout = leaf.__layout;
4840
4840
  if (layout.boundsChanged) leaf.__updateLocalBounds();
4841
+ if (noUpdateSize) layout.resized = undefined;
4841
4842
  if (!layout.waitAutoLayout) leaf.__updateWorldBounds();
4842
4843
  },
4843
4844
  updateAllWorldOpacity(leaf) {
@@ -4860,7 +4861,7 @@ const LeafHelper = {
4860
4861
  }
4861
4862
  },
4862
4863
  updateAllChange(leaf) {
4863
- updateChange$1(leaf);
4864
+ updateChange(leaf);
4864
4865
  if (leaf.isBranch) {
4865
4866
  const {children: children} = leaf;
4866
4867
  for (let i = 0, len = children.length; i < len; i++) {
@@ -4882,6 +4883,13 @@ const LeafHelper = {
4882
4883
  if (!fromWorld) fromWorld = leaf.__nowWorld;
4883
4884
  if (leaf.__worldFlipped || Platform.fullImageShadow) currentCanvas.copyWorldByReset(fromCanvas, fromWorld, leaf.__nowWorld, blendMode, onlyResetTransform); else currentCanvas.copyWorldToInner(fromCanvas, fromWorld, leaf.__layout.renderBounds, blendMode);
4884
4885
  },
4886
+ clip(leaf, canvas, options) {
4887
+ if (leaf.__worldOpacity) {
4888
+ canvas.setWorld(leaf.__nowWorld = leaf.__getNowWorld(options));
4889
+ leaf.__drawRenderPath(canvas);
4890
+ canvas.clipUI(leaf);
4891
+ }
4892
+ },
4885
4893
  renderComplex(_leaf, _canvas, _options) {},
4886
4894
  updateComplex(_leaf) {},
4887
4895
  checkComplex(_leaf) {},
@@ -5032,7 +5040,7 @@ const LeafHelper = {
5032
5040
 
5033
5041
  const L = LeafHelper;
5034
5042
 
5035
- const {updateAllMatrix: updateAllMatrix$3, updateMatrix: updateMatrix$2, updateAllWorldOpacity: updateAllWorldOpacity, updateAllChange: updateAllChange$1, updateChange: updateChange$1} = L;
5043
+ const {updateAllMatrix: updateAllMatrix$3, updateMatrix: updateMatrix$1, updateAllWorldOpacity: updateAllWorldOpacity, updateAllChange: updateAllChange$1, updateChange: updateChange} = L;
5036
5044
 
5037
5045
  function getTempLocal(t, worldPoint) {
5038
5046
  t.updateLayout();
@@ -5078,7 +5086,7 @@ function checkMask(target, index) {
5078
5086
  return findMask < 0 ? null : (findMask && (findMask = -1), true);
5079
5087
  }
5080
5088
 
5081
- const {updateBounds: updateBounds$3} = LeafHelper;
5089
+ const {updateBounds: updateBounds$2} = LeafHelper;
5082
5090
 
5083
5091
  const BranchHelper = {
5084
5092
  sort(a, b) {
@@ -5139,10 +5147,10 @@ const BranchHelper = {
5139
5147
  branch = branchStack[i];
5140
5148
  children = branch.children;
5141
5149
  for (let j = 0, len = children.length; j < len; j++) {
5142
- updateBounds$3(children[j]);
5150
+ updateBounds$2(children[j]);
5143
5151
  }
5144
5152
  if (exclude && exclude === branch) continue;
5145
- updateBounds$3(branch);
5153
+ updateBounds$2(branch);
5146
5154
  }
5147
5155
  },
5148
5156
  move(branch, x, y) {
@@ -5204,7 +5212,7 @@ const WaitHelper = {
5204
5212
  }
5205
5213
  };
5206
5214
 
5207
- const {getRelativeWorld: getRelativeWorld$1, updateBounds: updateBounds$2} = LeafHelper;
5215
+ const {getRelativeWorld: getRelativeWorld$1, updateBounds: updateBounds$1} = LeafHelper;
5208
5216
 
5209
5217
  const {toOuterOf: toOuterOf$3, getPoints: getPoints, copy: copy$4} = BoundsHelper;
5210
5218
 
@@ -5312,7 +5320,7 @@ class LeafLayout {
5312
5320
  }
5313
5321
  update() {
5314
5322
  const {leaf: leaf} = this, {leafer: leafer} = leaf;
5315
- if (leaf.isApp) return updateBounds$2(leaf);
5323
+ if (leaf.isApp) return updateBounds$1(leaf);
5316
5324
  if (leafer) {
5317
5325
  if (leafer.ready) leafer.watcher.changed && leafer.layouter.layout(); else leafer.start();
5318
5326
  } else {
@@ -6049,9 +6057,12 @@ const LeafDataProxy = {
6049
6057
  }
6050
6058
  },
6051
6059
  emitPropertyEvent(type, name, oldValue, newValue) {
6052
- const event = new PropertyEvent(type, this, name, oldValue, newValue);
6053
- this.isLeafer || this.hasEvent(type) && this.emitEvent(event);
6054
- this.leafer.emitEvent(event);
6060
+ const {leafer: leafer} = this;
6061
+ if (leafer.config.trackChanges || leafer.zoomLayer === this) {
6062
+ const event = new PropertyEvent(type, this, name, oldValue, newValue);
6063
+ this.isLeafer || this.hasEvent(type) && this.emitEvent(event);
6064
+ leafer.emitEvent(event);
6065
+ } else leafer.watcher.add(this);
6055
6066
  },
6056
6067
  __realSetAttr(name, newValue) {
6057
6068
  const data = this.__;
@@ -6096,9 +6107,9 @@ const LeafMatrix = {
6096
6107
  }
6097
6108
  };
6098
6109
 
6099
- const {updateMatrix: updateMatrix$1, updateAllMatrix: updateAllMatrix$2} = LeafHelper;
6110
+ const {updateMatrix: updateMatrix, updateAllMatrix: updateAllMatrix$2} = LeafHelper;
6100
6111
 
6101
- const {updateBounds: updateBounds$1} = BranchHelper;
6112
+ const {updateBounds: updateBounds} = BranchHelper;
6102
6113
 
6103
6114
  const {toOuterOf: toOuterOf$2, copyAndSpread: copyAndSpread$2, copy: copy$3} = BoundsHelper;
6104
6115
 
@@ -6201,14 +6212,14 @@ const LeafBounds = {
6201
6212
  if (this.__layout.childrenSortChanged) this.__updateSortChildren();
6202
6213
  if (this.__layout.boxChanged) this.__updateFlowLayout();
6203
6214
  updateAllMatrix$2(this);
6204
- updateBounds$1(this, this);
6215
+ updateBounds(this, this);
6205
6216
  if (this.__.__autoSide) this.__updateBoxBounds(true);
6206
6217
  } else {
6207
6218
  updateAllMatrix$2(this);
6208
- updateBounds$1(this, this);
6219
+ updateBounds(this, this);
6209
6220
  }
6210
6221
  } else {
6211
- updateMatrix$1(this);
6222
+ updateMatrix(this);
6212
6223
  }
6213
6224
  },
6214
6225
  __updateNaturalSize() {
@@ -6254,11 +6265,7 @@ const LeafRender = {
6254
6265
  }
6255
6266
  },
6256
6267
  __clip(canvas, options) {
6257
- if (this.__worldOpacity) {
6258
- canvas.setWorld(this.__nowWorld = this.__getNowWorld(options));
6259
- this.__drawRenderPath(canvas);
6260
- canvas.clipUI(this);
6261
- }
6268
+ LeafHelper.clip(this, canvas, options);
6262
6269
  },
6263
6270
  __updateWorldOpacity() {
6264
6271
  this.__worldOpacity = this.__.visible ? this.parent ? this.parent.__worldOpacity * this.__.opacity : this.__.opacity : 0;
@@ -6881,9 +6888,12 @@ let Branch = class Branch extends Leaf {
6881
6888
  if (this.isFrame) child.__bindFrame(null);
6882
6889
  }
6883
6890
  __emitChildEvent(type, child) {
6884
- const event = new ChildEvent(type, child, this);
6885
- if (this.hasEvent(type) && !this.isLeafer) this.emitEvent(event);
6886
- this.leafer.emitEvent(event);
6891
+ const {leafer: leafer} = this;
6892
+ if (leafer.config.trackChanges || leafer.zoomLayer === this) {
6893
+ const event = new ChildEvent(type, child, this);
6894
+ if (this.hasEvent(type) && !this.isLeafer) this.emitEvent(event);
6895
+ leafer.emitEvent(event);
6896
+ } else leafer.watcher.addChild(child, this, type);
6887
6897
  }
6888
6898
  };
6889
6899
 
@@ -7036,7 +7046,7 @@ class LeafLevelList {
7036
7046
  }
7037
7047
  }
7038
7048
 
7039
- const version = "2.2.6";
7049
+ const version = "2.2.8";
7040
7050
 
7041
7051
  class LeaferCanvas extends LeaferCanvasBase {
7042
7052
  get allowBackgroundColor() {
@@ -7170,6 +7180,7 @@ class Watcher {
7170
7180
  }
7171
7181
  constructor(target, userConfig) {
7172
7182
  this.totalTimes = 0;
7183
+ this.changed = 0;
7173
7184
  this.config = {};
7174
7185
  this.__updatedList = new LeafList;
7175
7186
  this.target = target;
@@ -7189,8 +7200,10 @@ class Watcher {
7189
7200
  this.disabled = true;
7190
7201
  }
7191
7202
  update() {
7192
- this.changed = true;
7193
- if (this.running) this.target.emit(RenderEvent.REQUEST);
7203
+ if (this.changed < 100) {
7204
+ this.changed++;
7205
+ if (this.running) this.target.emit(RenderEvent.REQUEST);
7206
+ }
7194
7207
  }
7195
7208
  __onAttrChange(event) {
7196
7209
  this.add(event.target);
@@ -7199,18 +7212,21 @@ class Watcher {
7199
7212
  if (this.config.usePartLayout) this.__updatedList.add(leaf);
7200
7213
  this.update();
7201
7214
  }
7202
- __onChildEvent(event) {
7215
+ addChild(child, parent, eventType) {
7203
7216
  if (this.config.usePartLayout) {
7204
- if (event.type === ChildEvent.ADD) {
7217
+ if (eventType === ChildEvent.ADD) {
7205
7218
  this.hasAdd = true;
7206
- this.__pushChild(event.child);
7219
+ this.__pushChild(child);
7207
7220
  } else {
7208
7221
  this.hasRemove = true;
7209
- this.__updatedList.add(event.parent);
7222
+ this.__updatedList.add(parent);
7210
7223
  }
7211
7224
  }
7212
7225
  this.update();
7213
7226
  }
7227
+ __onChildEvent(event) {
7228
+ this.addChild(event.child, event.parent, event.type);
7229
+ }
7214
7230
  __pushChild(child) {
7215
7231
  this.__updatedList.add(child);
7216
7232
  if (child.isBranch) this.__loopChildren(child);
@@ -7225,7 +7241,8 @@ class Watcher {
7225
7241
  }));
7226
7242
  this.__updatedList = new LeafList;
7227
7243
  this.totalTimes++;
7228
- this.changed = this.hasVisible = this.hasRemove = this.hasAdd = false;
7244
+ this.hasVisible = this.hasRemove = this.hasAdd = false;
7245
+ this.changed = 0;
7229
7246
  }
7230
7247
  __listenEvents() {
7231
7248
  this.__eventIds = [ this.target.on_([ [ PropertyEvent.CHANGE, this.__onAttrChange, this ], [ [ ChildEvent.ADD, ChildEvent.REMOVE ], this.__onChildEvent, this ], [ WatchEvent.REQUEST, this.__onRquestData, this ] ]) ];
@@ -7246,47 +7263,57 @@ const {updateAllMatrix: updateAllMatrix$1, updateBounds: updateOneBounds, update
7246
7263
 
7247
7264
  const {pushAllChildBranch: pushAllChildBranch, pushAllParent: pushAllParent} = BranchHelper;
7248
7265
 
7249
- function updateMatrix(updateList, levelList) {
7250
- let layout;
7251
- updateList.list.forEach(leaf => {
7252
- layout = leaf.__layout;
7253
- if (levelList.without(leaf) && !layout.proxyZoom) {
7254
- if (layout.matrixChanged) {
7255
- updateAllMatrix$1(leaf, true);
7256
- levelList.add(leaf);
7257
- if (leaf.isBranch) pushAllChildBranch(leaf, levelList);
7258
- pushAllParent(leaf, levelList);
7259
- } else if (layout.boundsChanged) {
7260
- levelList.add(leaf);
7261
- if (leaf.isBranch) leaf.__tempNumber = 0;
7262
- pushAllParent(leaf, levelList);
7266
+ const LayouterHelper = {
7267
+ updateMatrix(updateList, levelList) {
7268
+ let index = 0, leaf, layout;
7269
+ const {list: list} = updateList;
7270
+ while (index < list.length) {
7271
+ leaf = list[index];
7272
+ layout = leaf.__layout;
7273
+ if (levelList.without(leaf) && !layout.proxyZoom) {
7274
+ if (layout.matrixChanged) {
7275
+ updateAllMatrix$1(leaf, true);
7276
+ if (leaf.isBranch) pushAllChildBranch(leaf, levelList);
7277
+ push(leaf, levelList);
7278
+ } else if (layout.boundsChanged) {
7279
+ if (leaf.isBranch) leaf.__tempNumber = 0;
7280
+ push(leaf, levelList);
7281
+ }
7263
7282
  }
7283
+ index++;
7264
7284
  }
7265
- });
7266
- }
7267
-
7268
- function updateBounds(boundsList) {
7269
- let list, branch, children;
7270
- boundsList.sort(true);
7271
- boundsList.levels.forEach(level => {
7272
- list = boundsList.levelMap[level];
7273
- for (let i = 0, len = list.length; i < len; i++) {
7274
- branch = list[i];
7275
- if (branch.isBranch && branch.__tempNumber) {
7276
- children = branch.children;
7277
- for (let j = 0, jLen = children.length; j < jLen; j++) {
7278
- if (!children[j].isBranch) {
7279
- updateOneBounds(children[j]);
7285
+ },
7286
+ updateBounds(boundsList) {
7287
+ let index = 0, level, list, branch, children;
7288
+ const {levels: levels, levelMap: levelMap} = boundsList;
7289
+ boundsList.sort(true);
7290
+ while (index < levels.length) {
7291
+ level = levels[index];
7292
+ list = levelMap[level];
7293
+ for (let i = 0, len = list.length; i < len; i++) {
7294
+ branch = list[i];
7295
+ if (branch.isBranch && branch.__tempNumber) {
7296
+ children = branch.children;
7297
+ for (let j = 0, jLen = children.length; j < jLen; j++) {
7298
+ if (!children[j].isBranch) {
7299
+ updateOneBounds(children[j]);
7300
+ }
7280
7301
  }
7281
7302
  }
7303
+ updateOneBounds(branch);
7282
7304
  }
7283
- updateOneBounds(branch);
7305
+ index++;
7284
7306
  }
7285
- });
7286
- }
7307
+ },
7308
+ updateChange(updateList) {
7309
+ updateList.list.forEach(updateOneChange);
7310
+ },
7311
+ push: push
7312
+ };
7287
7313
 
7288
- function updateChange(updateList) {
7289
- updateList.list.forEach(updateOneChange);
7314
+ function push(leaf, levelList) {
7315
+ levelList.add(leaf);
7316
+ pushAllParent(leaf, levelList);
7290
7317
  }
7291
7318
 
7292
7319
  const {worldBounds: worldBounds} = LeafBoundsHelper;
@@ -7393,9 +7420,9 @@ class Layouter {
7393
7420
  target.emitEvent(new LayoutEvent(BEFORE, blocks, this.times));
7394
7421
  this.extraBlock = null;
7395
7422
  updateList.sort();
7396
- updateMatrix(updateList, this.__levelList);
7397
- updateBounds(this.__levelList);
7398
- updateChange(updateList);
7423
+ LayouterHelper.updateMatrix(updateList, this.__levelList);
7424
+ LayouterHelper.updateBounds(this.__levelList);
7425
+ LayouterHelper.updateChange(updateList);
7399
7426
  if (this.extraBlock) blocks.push(this.extraBlock);
7400
7427
  blocks.forEach(item => item.setAfter());
7401
7428
  target.emitEvent(new LayoutEvent(LAYOUT, blocks, this.times));
@@ -7425,11 +7452,16 @@ class Layouter {
7425
7452
  if (target.isBranch) BranchHelper.updateBounds(target); else LeafHelper.updateBounds(target);
7426
7453
  updateAllChange(target);
7427
7454
  }
7428
- addExtra(leaf) {
7455
+ addExtra(leaf, updateBounds) {
7429
7456
  if (!this.__updatedList.has(leaf)) {
7430
7457
  const {updatedList: updatedList, beforeBounds: beforeBounds} = this.extraBlock || (this.extraBlock = new LayoutBlockData([]));
7431
7458
  updatedList.length ? beforeBounds.add(leaf.__world) : beforeBounds.set(leaf.__world);
7432
7459
  updatedList.add(leaf);
7460
+ if (updateBounds) {
7461
+ const list = this.__levelList;
7462
+ LayouterHelper.push(leaf, list);
7463
+ list.sort(true);
7464
+ }
7433
7465
  }
7434
7466
  }
7435
7467
  createBlock(data) {
@@ -8676,6 +8708,7 @@ let Leafer = Leafer_1 = class Leafer extends Group {
8676
8708
  start: true,
8677
8709
  hittable: true,
8678
8710
  smooth: true,
8711
+ trackChanges: true,
8679
8712
  lazySpeard: 100
8680
8713
  };
8681
8714
  this.leafs = 0;
@@ -10077,7 +10110,7 @@ function checkSizeAndCreateData(ui, attrName, paint, image, leafPaint, boxBounds
10077
10110
  data.__naturalHeight = image.height / data.pixelRatio;
10078
10111
  if (data.__autoSide) {
10079
10112
  ui.forceUpdate();
10080
- LeafHelper.updateBounds(ui);
10113
+ LeafHelper.updateBounds(ui, true);
10081
10114
  ui.__layout.boundsChanged = true;
10082
10115
  if (ui.__proxyData) {
10083
10116
  ui.setProxyAttr("width", data.width);
@@ -11350,4 +11383,4 @@ Object.assign(Effect, EffectModule);
11350
11383
 
11351
11384
  useCanvas();
11352
11385
 
11353
- export { AlignHelper, Answer, AroundHelper, AutoBounds, BezierHelper, Bounds, BoundsEvent, BoundsHelper, Box, BoxData, Branch, BranchHelper, BranchRender, Canvas, CanvasData, CanvasManager, ChildEvent, ColorConvert, Creator, DataHelper, Debug, Direction4, Direction9, Effect, Ellipse, EllipseData, EllipseHelper, Event, EventCreator, Eventer, Export, FileHelper, Filter, FourNumberHelper, Frame, FrameData, Group, GroupData, Image, ImageData, ImageEvent, ImageManager, IncrementId, LayoutEvent, Layouter, Leaf, LeafBounds, LeafBoundsHelper, LeafData, LeafDataProxy, LeafEventer, LeafHelper, LeafLayout, LeafLevelList, LeafList, LeafMatrix, LeafRender, Leafer, LeaferCanvas, LeaferCanvasBase, LeaferData, LeaferEvent, LeaferFilm, LeaferImage, LeaferVideo, Line, LineData, MathHelper, Matrix, MatrixHelper, MyImage, NeedConvertToCanvasCommandMap, OneRadian, PI2, PI_2, Paint, PaintGradient, PaintImage, Path, PathArrow, PathBounds, PathCommandDataHelper, PathCommandMap, PathCommandNodeHelper, PathConvert, PathCorner, PathCreator, PathData, PathDrawer, PathHelper, PathNodeHandleType, PathNumberCommandLengthMap, PathNumberCommandMap, Pen, PenData, Platform, Plugin, Point, PointHelper, Polygon, PolygonData, PropertyEvent, Rect, RectData, RectHelper, RectRender, RenderEvent, Renderer, ResizeEvent, Resource, Run, Star, StarData, State, StringNumberMap, TaskItem, TaskProcessor, Text, TextConvert, TextData, Transition, TwoPointBoundsHelper, UI, UIBounds, UICreator, UIData, UIRender, UnitConvert, UnitConvertHelper, WaitHelper, WatchEvent, Watcher, affectRenderBoundsType, affectStrokeBoundsType, attr, autoLayoutType, boundsType, canvasPatch, canvasSizeAttrs, createAttr, createDescriptor, cursorType, dataProcessor, dataType, decorateLeafAttr, defineDataProcessor, defineKey, defineLeafAttr, dimType, doBoundsType, doStrokeType, doSurfaceType, effectType, emptyData, eraserType, extraPropertyEventMap, getBoundsData, getDescriptor, getMatrixData, getPointData, hitType, isArray, isData, isEmptyData, isFinite, isNull, isNumber, isObject, isString, isUndefined, layoutProcessor, leaferTransformAttrMap, maskType, naturalBoundsType, opacityType, path, pathInputType, pathType, pen, positionType, registerPointsCurve, registerUI, registerUIEvent, resizeType, rewrite, rewriteAble, rotationType, scaleType, scrollType, sortType, strokeType, surfaceType, tempBounds$2 as tempBounds, tempMatrix$2 as tempMatrix, tempPoint$3 as tempPoint, tryToNumber, useCanvas, useModule, version, visibleType, zoomLayerType };
11386
+ export { AlignHelper, Answer, AroundHelper, AutoBounds, BezierHelper, Bounds, BoundsEvent, BoundsHelper, Box, BoxData, Branch, BranchHelper, BranchRender, Canvas, CanvasData, CanvasManager, ChildEvent, ColorConvert, Creator, DataHelper, Debug, Direction4, Direction9, Effect, Ellipse, EllipseData, EllipseHelper, Event, EventCreator, Eventer, Export, FileHelper, Filter, FourNumberHelper, Frame, FrameData, Group, GroupData, Image, ImageData, ImageEvent, ImageManager, IncrementId, LayoutEvent, Layouter, LayouterHelper, Leaf, LeafBounds, LeafBoundsHelper, LeafData, LeafDataProxy, LeafEventer, LeafHelper, LeafLayout, LeafLevelList, LeafList, LeafMatrix, LeafRender, Leafer, LeaferCanvas, LeaferCanvasBase, LeaferData, LeaferEvent, LeaferFilm, LeaferImage, LeaferVideo, Line, LineData, MathHelper, Matrix, MatrixHelper, MyImage, NeedConvertToCanvasCommandMap, OneRadian, PI2, PI_2, Paint, PaintGradient, PaintImage, Path, PathArrow, PathBounds, PathCommandDataHelper, PathCommandMap, PathCommandNodeHelper, PathConvert, PathCorner, PathCreator, PathData, PathDrawer, PathHelper, PathNodeHandleType, PathNumberCommandLengthMap, PathNumberCommandMap, Pen, PenData, Platform, Plugin, Point, PointHelper, Polygon, PolygonData, PropertyEvent, Rect, RectData, RectHelper, RectRender, RenderEvent, Renderer, ResizeEvent, Resource, Run, Star, StarData, State, StringNumberMap, TaskItem, TaskProcessor, Text, TextConvert, TextData, Transition, TwoPointBoundsHelper, UI, UIBounds, UICreator, UIData, UIRender, UnitConvert, UnitConvertHelper, WaitHelper, WatchEvent, Watcher, affectRenderBoundsType, affectStrokeBoundsType, attr, autoLayoutType, boundsType, canvasPatch, canvasSizeAttrs, createAttr, createDescriptor, cursorType, dataProcessor, dataType, decorateLeafAttr, defineDataProcessor, defineKey, defineLeafAttr, dimType, doBoundsType, doStrokeType, doSurfaceType, effectType, emptyData, eraserType, extraPropertyEventMap, getBoundsData, getDescriptor, getMatrixData, getPointData, hitType, isArray, isData, isEmptyData, isFinite, isNull, isNumber, isObject, isString, isUndefined, layoutProcessor, leaferTransformAttrMap, maskType, naturalBoundsType, opacityType, path, pathInputType, pathType, pen, positionType, registerPointsCurve, registerUI, registerUIEvent, resizeType, rewrite, rewriteAble, rotationType, scaleType, scrollType, sortType, strokeType, surfaceType, tempBounds$2 as tempBounds, tempMatrix$2 as tempMatrix, tempPoint$3 as tempPoint, tryToNumber, useCanvas, useModule, version, visibleType, zoomLayerType };