leafer-game 2.2.5 → 2.2.6

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.
@@ -472,7 +472,7 @@ const {sin: sin$6, cos: cos$6, acos: acos, sqrt: sqrt$5} = Math;
472
472
 
473
473
  const {float: float$5} = MathHelper;
474
474
 
475
- const tempPoint$6 = {};
475
+ const tempPoint$7 = {};
476
476
 
477
477
  function getWorld() {
478
478
  return Object.assign(Object.assign(Object.assign({}, getMatrixData()), getBoundsData()), {
@@ -531,8 +531,8 @@ const MatrixHelper = {
531
531
  to.f = t.f * pixelRatio;
532
532
  },
533
533
  scaleOfOuter(t, origin, scaleX, scaleY) {
534
- M$7.toInnerPoint(t, origin, tempPoint$6);
535
- M$7.scaleOfInner(t, tempPoint$6, scaleX, scaleY);
534
+ M$7.toInnerPoint(t, origin, tempPoint$7);
535
+ M$7.scaleOfInner(t, tempPoint$7, scaleX, scaleY);
536
536
  },
537
537
  scaleOfInner(t, origin, scaleX, scaleY = scaleX) {
538
538
  M$7.translateInner(t, origin.x, origin.y);
@@ -550,8 +550,8 @@ const MatrixHelper = {
550
550
  t.d = c * sinR + d * cosR;
551
551
  },
552
552
  rotateOfOuter(t, origin, rotation) {
553
- M$7.toInnerPoint(t, origin, tempPoint$6);
554
- M$7.rotateOfInner(t, tempPoint$6, rotation);
553
+ M$7.toInnerPoint(t, origin, tempPoint$7);
554
+ M$7.rotateOfInner(t, tempPoint$7, rotation);
555
555
  },
556
556
  rotateOfInner(t, origin, rotation) {
557
557
  M$7.translateInner(t, origin.x, origin.y);
@@ -572,8 +572,8 @@ const MatrixHelper = {
572
572
  }
573
573
  },
574
574
  skewOfOuter(t, origin, skewX, skewY) {
575
- M$7.toInnerPoint(t, origin, tempPoint$6);
576
- M$7.skewOfInner(t, tempPoint$6, skewX, skewY);
575
+ M$7.toInnerPoint(t, origin, tempPoint$7);
576
+ M$7.skewOfInner(t, tempPoint$7, skewX, skewY);
577
577
  },
578
578
  skewOfInner(t, origin, skewX, skewY = 0) {
579
579
  M$7.translateInner(t, origin.x, origin.y);
@@ -1000,7 +1000,7 @@ class Point {
1000
1000
  }
1001
1001
  }
1002
1002
 
1003
- const tempPoint$5 = new Point;
1003
+ const tempPoint$6 = new Point;
1004
1004
 
1005
1005
  class Matrix {
1006
1006
  constructor(a, b, c, d, e, f) {
@@ -1904,7 +1904,7 @@ function getNameList(name) {
1904
1904
 
1905
1905
  const D$5 = Debug;
1906
1906
 
1907
- const debug$g = Debug.get("RunTime");
1907
+ const debug$h = Debug.get("RunTime");
1908
1908
 
1909
1909
  const Run = {
1910
1910
  currentId: 0,
@@ -1923,7 +1923,7 @@ const Run = {
1923
1923
  const time = R$1.idMap[id], name = R$1.nameMap[id];
1924
1924
  const duration = microsecond ? (performance.now() - time) / 1e3 : Date.now() - time;
1925
1925
  R$1.idMap[id] = R$1.nameMap[id] = R$1.nameToIdMap[name] = undefined;
1926
- debug$g.log(name, duration, "ms");
1926
+ debug$h.log(name, duration, "ms");
1927
1927
  },
1928
1928
  endOfName(name, microsecond) {
1929
1929
  const id = R$1.nameToIdMap[name];
@@ -1959,18 +1959,18 @@ const Creator = {
1959
1959
  }
1960
1960
  };
1961
1961
 
1962
- const debug$f = Debug.get("UICreator");
1962
+ const debug$g = Debug.get("UICreator");
1963
1963
 
1964
1964
  const UICreator = {
1965
1965
  list: {},
1966
1966
  register(UI) {
1967
1967
  const {__tag: tag} = UI.prototype;
1968
- if (list$1[tag]) debug$f.repeat(tag);
1968
+ if (list$1[tag]) debug$g.repeat(tag);
1969
1969
  list$1[tag] = UI;
1970
1970
  },
1971
1971
  get(tag, data, x, y, width, height) {
1972
1972
  if (!list$1[tag]) {
1973
- debug$f.warn("not register " + tag);
1973
+ debug$g.warn("not register " + tag);
1974
1974
  return undefined;
1975
1975
  }
1976
1976
  const ui = new list$1[tag](data);
@@ -1986,7 +1986,7 @@ const UICreator = {
1986
1986
 
1987
1987
  const {list: list$1} = UICreator;
1988
1988
 
1989
- const debug$e = Debug.get("EventCreator");
1989
+ const debug$f = Debug.get("EventCreator");
1990
1990
 
1991
1991
  const EventCreator = {
1992
1992
  nameList: {},
@@ -1994,7 +1994,7 @@ const EventCreator = {
1994
1994
  let name;
1995
1995
  Object.keys(Event).forEach(key => {
1996
1996
  name = Event[key];
1997
- if (isString(name)) nameList[name] && debug$e.repeat(name), nameList[name] = Event;
1997
+ if (isString(name)) nameList[name] && debug$f.repeat(name), nameList[name] = Event;
1998
1998
  });
1999
1999
  },
2000
2000
  changeName(oldName, newName) {
@@ -2715,7 +2715,7 @@ const {set: set$3, toNumberPoints: toNumberPoints} = PointHelper;
2715
2715
 
2716
2716
  const {M: M$6, L: L$7, C: C$5, Q: Q$4, Z: Z$6} = PathCommandMap;
2717
2717
 
2718
- const tempPoint$4 = {};
2718
+ const tempPoint$5 = {};
2719
2719
 
2720
2720
  const BezierHelper = {
2721
2721
  points(data, originPoints, curve, close) {
@@ -2889,8 +2889,8 @@ const BezierHelper = {
2889
2889
  addMode ? addPoint$1(pointBounds, fromX, fromY) : setPoint$1(pointBounds, fromX, fromY);
2890
2890
  addPoint$1(pointBounds, toX, toY);
2891
2891
  for (let i = 0, len = tList.length; i < len; i++) {
2892
- getPointAndSet(tList[i], fromX, fromY, x1, y1, x2, y2, toX, toY, tempPoint$4);
2893
- addPoint$1(pointBounds, tempPoint$4.x, tempPoint$4.y);
2892
+ getPointAndSet(tList[i], fromX, fromY, x1, y1, x2, y2, toX, toY, tempPoint$5);
2893
+ addPoint$1(pointBounds, tempPoint$5.x, tempPoint$5.y);
2894
2894
  }
2895
2895
  },
2896
2896
  getPointAndSet(t, fromX, fromY, x1, y1, x2, y2, toX, toY, setPoint) {
@@ -3003,7 +3003,7 @@ const {rect: rect$3, roundRect: roundRect$2, arcTo: arcTo$3, arc: arc$3, ellipse
3003
3003
 
3004
3004
  const {ellipticalArc: ellipticalArc} = EllipseHelper;
3005
3005
 
3006
- const debug$d = Debug.get("PathConvert");
3006
+ const debug$e = Debug.get("PathConvert");
3007
3007
 
3008
3008
  const setEndPoint$1 = {};
3009
3009
 
@@ -3270,7 +3270,7 @@ const PathConvert = {
3270
3270
  break;
3271
3271
 
3272
3272
  default:
3273
- debug$d.error(`command: ${command} [index:${i}]`, old);
3273
+ debug$e.error(`command: ${command} [index:${i}]`, old);
3274
3274
  return data;
3275
3275
  }
3276
3276
  lastCommand = command;
@@ -3333,7 +3333,10 @@ const {tan: tan, min: min$1, abs: abs$5} = Math;
3333
3333
 
3334
3334
  const startPoint = {};
3335
3335
 
3336
+ const debug$d = Debug.get("PointsCurve");
3337
+
3336
3338
  const PathCommandDataHelper = {
3339
+ pointsCurveList: {},
3337
3340
  beginPath(data) {
3338
3341
  data.length = 0;
3339
3342
  },
@@ -3403,12 +3406,22 @@ const PathCommandDataHelper = {
3403
3406
  data.push(M$4, startPoint.x, startPoint.y);
3404
3407
  arc$2(data, x, y, radius, startAngle, endAngle, anticlockwise);
3405
3408
  },
3406
- drawPoints(data, points, curve, close) {
3407
- BezierHelper.points(data, points, curve, close);
3409
+ drawPoints(data, points, curve, close, options) {
3410
+ let type = "Q";
3411
+ if (isObject(curve)) type = curve.type, curve = curve.value;
3412
+ if (!pointsCurveList[type]) debug$d.warn("not found:", type), type = "Q";
3413
+ pointsCurveList[type](data, points, curve, close, options);
3408
3414
  }
3409
3415
  };
3410
3416
 
3411
- const {ellipse: ellipse$3, arc: arc$2} = PathCommandDataHelper;
3417
+ const {ellipse: ellipse$3, arc: arc$2, pointsCurveList: pointsCurveList} = PathCommandDataHelper;
3418
+
3419
+ function registerPointsCurve(type, fn) {
3420
+ if (pointsCurveList[type]) debug$d.repeat(type);
3421
+ pointsCurveList[type] = fn;
3422
+ }
3423
+
3424
+ registerPointsCurve("Q", BezierHelper.points);
3412
3425
 
3413
3426
  const {moveTo: moveTo$4, lineTo: lineTo$3, quadraticCurveTo: quadraticCurveTo, bezierCurveTo: bezierCurveTo, closePath: closePath$3, beginPath: beginPath, rect: rect$2, roundRect: roundRect$1, ellipse: ellipse$2, arc: arc$1, arcTo: arcTo$2, drawEllipse: drawEllipse, drawArc: drawArc, drawPoints: drawPoints$2} = PathCommandDataHelper;
3414
3427
 
@@ -6054,7 +6067,7 @@ const LeafDataProxy = {
6054
6067
 
6055
6068
  const {setLayout: setLayout, multiplyParent: multiplyParent$2, translateInner: translateInner, defaultWorld: defaultWorld} = MatrixHelper;
6056
6069
 
6057
- const {toPoint: toPoint$3, tempPoint: tempPoint$3} = AroundHelper;
6070
+ const {toPoint: toPoint$3, tempPoint: tempPoint$4} = AroundHelper;
6058
6071
 
6059
6072
  const LeafMatrix = {
6060
6073
  __updateWorldMatrix() {
@@ -6075,8 +6088,8 @@ const LeafMatrix = {
6075
6088
  local.e = data.x + data.offsetX;
6076
6089
  local.f = data.y + data.offsetY;
6077
6090
  if (data.around || data.origin) {
6078
- toPoint$3(data.around || data.origin, layout.boxBounds, tempPoint$3);
6079
- translateInner(local, -tempPoint$3.x, -tempPoint$3.y, !data.around);
6091
+ toPoint$3(data.around || data.origin, layout.boxBounds, tempPoint$4);
6092
+ translateInner(local, -tempPoint$4.x, -tempPoint$4.y, !data.around);
6080
6093
  }
6081
6094
  }
6082
6095
  this.__layout.matrixChanged = undefined;
@@ -7023,7 +7036,7 @@ class LeafLevelList {
7023
7036
  }
7024
7037
  }
7025
7038
 
7026
- const version = "2.2.5";
7039
+ const version = "2.2.6";
7027
7040
 
7028
7041
  const debug$5 = Debug.get("LeaferCanvas");
7029
7042
 
@@ -7877,7 +7890,7 @@ class Renderer {
7877
7890
 
7878
7891
  Renderer.clipSpread = 10;
7879
7892
 
7880
- const tempPoint$2 = {};
7893
+ const tempPoint$3 = {};
7881
7894
 
7882
7895
  const {copyRadiusPoint: copyRadiusPoint$1} = PointHelper;
7883
7896
 
@@ -8012,7 +8025,7 @@ class Picker {
8012
8025
  for (let i = len - 1; i > -1; i--) {
8013
8026
  child = children[i], data = child.__;
8014
8027
  if (!data.visible || onlyHitMask && !data.mask) continue;
8015
- hit = hitRadiusPoint$1(child.__world, data.hitRadius ? copyRadiusPoint$1(tempPoint$2, point, data.hitRadius) : point);
8028
+ hit = hitRadiusPoint$1(child.__world, data.hitRadius ? copyRadiusPoint$1(tempPoint$3, point, data.hitRadius) : point);
8016
8029
  if (child.isBranch) {
8017
8030
  if (hit || child.__ignoreHitWorld) {
8018
8031
  if (child.isBranchLeaf && data.__clipAfterFill && !child.__hitWorld(point, true)) continue;
@@ -8567,7 +8580,7 @@ const UIRender = {
8567
8580
  }
8568
8581
  if (data.__useEffect) {
8569
8582
  const {shadow: shadow, fill: fill, stroke: stroke} = data, otherEffect = data.innerShadow || data.blur || data.backgroundBlur || data.filter;
8570
- stintSet$2(data, "__isFastShadow", shadow && !otherEffect && shadow.length < 2 && !shadow[0].spread && !Effect.isTransformShadow(shadow[0]) && fill && !data.__isTransparentFill && !(isArray(fill) && fill.length > 1) && (this.useFastShadow || !stroke || stroke && data.strokeAlign === "inside"));
8583
+ stintSet$2(data, "__isFastShadow", shadow && !otherEffect && shadow.length < 2 && !shadow[0].spread && !Effect.isTransformShadow(shadow[0]) && !(shadow[0].blendMode && shadow[0].blendMode !== "pass-through") && fill && !data.__isTransparentFill && !(isArray(fill) && fill.length > 1) && (this.useFastShadow || !stroke || stroke && data.strokeAlign === "inside"));
8571
8584
  data.__useEffect = !!(shadow || otherEffect);
8572
8585
  }
8573
8586
  data.__checkSingle();
@@ -9547,7 +9560,7 @@ __decorate([ affectRenderBoundsType("hide") ], Frame.prototype, "overflow", void
9547
9560
 
9548
9561
  Frame = __decorate([ registerUI() ], Frame);
9549
9562
 
9550
- const {moveTo: moveTo$3, closePath: closePath$2, ellipse: ellipse} = PathCommandDataHelper, {tempPoint: tempPoint$1, set: set$2, rotate: rotate$2} = PointHelper, {abs: abs$4} = Math, tempCenter = {};
9563
+ const {moveTo: moveTo$3, closePath: closePath$2, ellipse: ellipse} = PathCommandDataHelper, {tempPoint: tempPoint$2, set: set$2, rotate: rotate$2} = PointHelper, {abs: abs$4} = Math, tempCenter = {};
9551
9564
 
9552
9565
  let Ellipse = class Ellipse extends UI {
9553
9566
  get __tag() {
@@ -9568,9 +9581,9 @@ let Ellipse = class Ellipse extends UI {
9568
9581
  if (drawInnerEllipse) {
9569
9582
  if (closedAngle) {
9570
9583
  closePath$2(path);
9571
- set$2(tempPoint$1, rx + innerRx, ry), set$2(tempCenter, rx, ry);
9572
- rotate$2(tempPoint$1, endAngle, tempCenter, rx, ry);
9573
- moveTo$3(path, tempPoint$1.x, tempPoint$1.y);
9584
+ set$2(tempPoint$2, rx + innerRx, ry), set$2(tempCenter, rx, ry);
9585
+ rotate$2(tempPoint$2, endAngle, tempCenter, rx, ry);
9586
+ moveTo$3(path, tempPoint$2.x, tempPoint$2.y);
9574
9587
  }
9575
9588
  ellipse(path, rx, ry, innerRx, innerRy, 0, endAngle, startAngle, true);
9576
9589
  } else {
@@ -9625,7 +9638,7 @@ let Polygon = class Polygon extends UI {
9625
9638
  const data = this.__;
9626
9639
  const path = data.path = [];
9627
9640
  if (data.points) {
9628
- drawPoints$1(path, data.points, data.curve, data.closed);
9641
+ drawPoints$1(path, data.points, data.curve, data.closed, data);
9629
9642
  } else {
9630
9643
  const {width: width, height: height, sides: sides, startAngle: startAngle} = data;
9631
9644
  const rx = width / 2, ry = height / 2;
@@ -9717,7 +9730,7 @@ let Line = class Line extends UI {
9717
9730
  const data = this.__;
9718
9731
  const path = data.path = [];
9719
9732
  if (data.points) {
9720
- drawPoints(path, data.points, data.curve, data.closed);
9733
+ drawPoints(path, data.points, data.curve, data.closed, data);
9721
9734
  } else {
9722
9735
  moveTo(path, 0, 0);
9723
9736
  lineTo(path, this.width, 0);
@@ -15273,7 +15286,7 @@ const {getDistance: getDistance} = HighBezierHelper;
15273
15286
 
15274
15287
  const {M: M, L: L, C: C, Z: Z} = PathCommandMap, {float: float} = MathHelper, {set: set, getAngle: getAngle, getDistanceFrom: getDistanceFrom, getDistancePoint: getDistancePoint} = PointHelper;
15275
15288
 
15276
- const tempPoint = {}, tempFrom = {};
15289
+ const tempPoint$1 = {}, tempFrom = {};
15277
15290
 
15278
15291
  const HighCurveHelper = {
15279
15292
  transform(data, matrix) {
@@ -15300,11 +15313,11 @@ const HighCurveHelper = {
15300
15313
  },
15301
15314
  transformPoints(data, matrix, start, pointCount) {
15302
15315
  for (let i = start + 1, end = i + pointCount * 2; i < end; i += 2) {
15303
- tempPoint.x = data[i];
15304
- tempPoint.y = data[i + 1];
15305
- MatrixHelper.toOuterPoint(matrix, tempPoint);
15306
- data[i] = tempPoint.x;
15307
- data[i + 1] = tempPoint.y;
15316
+ tempPoint$1.x = data[i];
15317
+ tempPoint$1.y = data[i + 1];
15318
+ MatrixHelper.toOuterPoint(matrix, tempPoint$1);
15319
+ data[i] = tempPoint$1.x;
15320
+ data[i + 1] = tempPoint$1.y;
15308
15321
  }
15309
15322
  },
15310
15323
  getMotionPathData(data) {
@@ -15546,12 +15559,16 @@ const {updateBounds: updateBounds} = BranchHelper;
15546
15559
 
15547
15560
  const {toVertical: toVertical} = PointHelper;
15548
15561
 
15562
+ const tempPoint = {};
15563
+
15549
15564
  UI.addAttr("motionPath", undefined, motionPathType);
15550
15565
 
15551
15566
  UI.addAttr("motionPrecision", 1, motionPathType);
15552
15567
 
15553
15568
  UI.addAttr("motion", undefined, motionPathType);
15554
15569
 
15570
+ UI.addAttr("motionAround", undefined, motionPathType);
15571
+
15555
15572
  UI.addAttr("motionVertical", "below", motionPathType);
15556
15573
 
15557
15574
  UI.addAttr("motionRotation", true, motionPathType);
@@ -15573,8 +15590,14 @@ ui$1.getMotionPoint = function(motionDistance, motionVertical, pathElement, offs
15573
15590
  const data = getMotionPathData(pathElement);
15574
15591
  if (!data.total) return {};
15575
15592
  const point = HighCurveHelper.getDistancePoint(data, motionDistance, pathElement.motionPrecision, offsetX);
15576
- const {motionRotation: motionRotation} = this;
15593
+ const {motionRotation: motionRotation, motionAround: motionAround} = this;
15577
15594
  if (isNumber(motionRotation)) point.rotation += motionRotation;
15595
+ if (motionAround && motionAround !== "top-left") {
15596
+ AroundHelper.toPoint(motionAround, this.__layout.boxBounds, tempPoint);
15597
+ PointHelper.set(tempPoint, point.x - tempPoint.x * this.scaleX, point.y - tempPoint.y * this.scaleY);
15598
+ if (point.rotation) PointHelper.rotate(tempPoint, point.rotation, point);
15599
+ PointHelper.copy(point, tempPoint);
15600
+ }
15578
15601
  let verticalType, verticalOffset;
15579
15602
  if (isObject(motionVertical)) verticalType = motionVertical.type, verticalOffset = motionVertical.offset; else if (isNumber(motionVertical)) verticalOffset = motionVertical; else verticalType = motionVertical;
15580
15603
  if (verticalType !== "below" || offsetY) {
@@ -15814,4 +15837,4 @@ LeafHelper.cacheId = function(t) {
15814
15837
  if (leafer.cacheInnerId) leafer.app.innerIdMap[t.innerId] = t;
15815
15838
  };
15816
15839
 
15817
- export { AlignHelper, Animate, AnimateEasing, AnimateEvent, AnimateList, Answer, App, AroundHelper, AutoBounds, BezierHelper, Bounds, BoundsEvent, BoundsHelper, Box, BoxData, Branch, BranchHelper, BranchRender, Canvas, CanvasData, CanvasManager, ChildEvent, ColorConvert, Creator, Cursor, DataHelper, Debug, Direction4, Direction9, DragBoundsHelper, DragEvent$1 as DragEvent, Dragger, DropEvent, Effect, Ellipse, EllipseData, EllipseHelper, Event, EventCreator, Eventer, Export, FileHelper, Filter, Finder, FourNumberHelper, Frame, FrameData, Group, GroupData, HighBezierHelper, HighCurveHelper, HitCanvasManager, Image$1 as Image, ImageData, ImageEvent, ImageManager, IncrementId, Interaction, InteractionBase, InteractionHelper, KeyEvent, Keyboard, 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, MoveEvent, MyDragEvent, MyImage, MyPointerEvent, MyTouchEvent, 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, Picker, Platform, Plugin, Point, PointHelper, PointerButton, PointerEvent$1 as PointerEvent, Polygon, PolygonData, PropertyEvent, Rect, RectData, RectHelper, RectRender, RenderEvent, Renderer, ResizeEvent, Resource, Robot, RobotData, RotateEvent, Run, Selector, Star, StarData, State, StringNumberMap, SwipeEvent, TaskItem, TaskProcessor, Text, TextConvert, TextData, TouchEvent, Transition, TwoPointBoundsHelper, UI, UIBounds, UICreator, UIData, UIEvent, UIRender, UnitConvert, UnitConvertHelper, WaitHelper, WatchEvent, Watcher, ZoomEvent, 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, motionPathType, naturalBoundsType, opacityType, path, pathInputType, pathType, pen, positionType, registerUI, registerUIEvent, resizeType, rewrite, rewriteAble, rotationType, scaleType, scrollType, sortType, stateStyleType, stateType, strokeType, surfaceType, tempBounds$2 as tempBounds, tempMatrix$2 as tempMatrix, tempPoint$5 as tempPoint, tryToNumber, useCanvas, useModule, version, visibleType, zoomLayerType };
15840
+ export { AlignHelper, Animate, AnimateEasing, AnimateEvent, AnimateList, Answer, App, AroundHelper, AutoBounds, BezierHelper, Bounds, BoundsEvent, BoundsHelper, Box, BoxData, Branch, BranchHelper, BranchRender, Canvas, CanvasData, CanvasManager, ChildEvent, ColorConvert, Creator, Cursor, DataHelper, Debug, Direction4, Direction9, DragBoundsHelper, DragEvent$1 as DragEvent, Dragger, DropEvent, Effect, Ellipse, EllipseData, EllipseHelper, Event, EventCreator, Eventer, Export, FileHelper, Filter, Finder, FourNumberHelper, Frame, FrameData, Group, GroupData, HighBezierHelper, HighCurveHelper, HitCanvasManager, Image$1 as Image, ImageData, ImageEvent, ImageManager, IncrementId, Interaction, InteractionBase, InteractionHelper, KeyEvent, Keyboard, 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, MoveEvent, MyDragEvent, MyImage, MyPointerEvent, MyTouchEvent, 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, Picker, Platform, Plugin, Point, PointHelper, PointerButton, PointerEvent$1 as PointerEvent, Polygon, PolygonData, PropertyEvent, Rect, RectData, RectHelper, RectRender, RenderEvent, Renderer, ResizeEvent, Resource, Robot, RobotData, RotateEvent, Run, Selector, Star, StarData, State, StringNumberMap, SwipeEvent, TaskItem, TaskProcessor, Text, TextConvert, TextData, TouchEvent, Transition, TwoPointBoundsHelper, UI, UIBounds, UICreator, UIData, UIEvent, UIRender, UnitConvert, UnitConvertHelper, WaitHelper, WatchEvent, Watcher, ZoomEvent, 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, motionPathType, naturalBoundsType, opacityType, path, pathInputType, pathType, pen, positionType, registerPointsCurve, registerUI, registerUIEvent, resizeType, rewrite, rewriteAble, rotationType, scaleType, scrollType, sortType, stateStyleType, stateType, strokeType, surfaceType, tempBounds$2 as tempBounds, tempMatrix$2 as tempMatrix, tempPoint$6 as tempPoint, tryToNumber, useCanvas, useModule, version, visibleType, zoomLayerType };