@leafer-draw/worker 1.10.0 → 1.11.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/worker.cjs +39 -41
- package/dist/worker.esm.js +39 -41
- package/dist/worker.esm.min.js +1 -1
- package/dist/worker.esm.min.js.map +1 -1
- package/dist/worker.js +89 -69
- package/dist/worker.min.cjs +1 -1
- package/dist/worker.min.cjs.map +1 -1
- package/dist/worker.min.js +1 -1
- package/dist/worker.min.js.map +1 -1
- package/dist/worker.module.js +90 -70
- package/dist/worker.module.min.js +1 -1
- package/dist/worker.module.min.js.map +1 -1
- package/package.json +9 -9
package/dist/worker.module.js
CHANGED
|
@@ -872,9 +872,10 @@ const PointHelper = {
|
|
|
872
872
|
getAtan2(t, to) {
|
|
873
873
|
return atan2$2(to.y - t.y, to.x - t.x);
|
|
874
874
|
},
|
|
875
|
-
getDistancePoint(t, to, distance, changeTo) {
|
|
875
|
+
getDistancePoint(t, to, distance, changeTo, fromTo) {
|
|
876
876
|
const r = getAtan2(t, to);
|
|
877
|
-
|
|
877
|
+
fromTo && (t = to);
|
|
878
|
+
changeTo || (to = {});
|
|
878
879
|
to.x = t.x + cos$4(r) * distance;
|
|
879
880
|
to.y = t.y + sin$4(r) * distance;
|
|
880
881
|
return to;
|
|
@@ -884,6 +885,9 @@ const PointHelper = {
|
|
|
884
885
|
if (isObject(originPoints[0])) points = [], originPoints.forEach(p => points.push(p.x, p.y));
|
|
885
886
|
return points;
|
|
886
887
|
},
|
|
888
|
+
isSame(t, point) {
|
|
889
|
+
return t.x === point.x && t.y === point.y;
|
|
890
|
+
},
|
|
887
891
|
reset(t) {
|
|
888
892
|
P$5.reset(t);
|
|
889
893
|
}
|
|
@@ -948,8 +952,8 @@ class Point {
|
|
|
948
952
|
getDistance(to) {
|
|
949
953
|
return PointHelper.getDistance(this, to);
|
|
950
954
|
}
|
|
951
|
-
getDistancePoint(to, distance, changeTo) {
|
|
952
|
-
return new Point(PointHelper.getDistancePoint(this, to, distance, changeTo));
|
|
955
|
+
getDistancePoint(to, distance, changeTo, fromTo) {
|
|
956
|
+
return new Point(PointHelper.getDistancePoint(this, to, distance, changeTo, fromTo));
|
|
953
957
|
}
|
|
954
958
|
getAngle(to) {
|
|
955
959
|
return PointHelper.getAngle(this, to);
|
|
@@ -957,6 +961,9 @@ class Point {
|
|
|
957
961
|
getAtan2(to) {
|
|
958
962
|
return PointHelper.getAtan2(this, to);
|
|
959
963
|
}
|
|
964
|
+
isSame(point) {
|
|
965
|
+
return PointHelper.isSame(this, point);
|
|
966
|
+
}
|
|
960
967
|
reset() {
|
|
961
968
|
PointHelper.reset(this);
|
|
962
969
|
return this;
|
|
@@ -2876,6 +2883,15 @@ const EllipseHelper = {
|
|
|
2876
2883
|
}
|
|
2877
2884
|
};
|
|
2878
2885
|
|
|
2886
|
+
const PathCommandNodeHelper = {
|
|
2887
|
+
toCommand(_nodes) {
|
|
2888
|
+
return [];
|
|
2889
|
+
},
|
|
2890
|
+
toNode(_data) {
|
|
2891
|
+
return [];
|
|
2892
|
+
}
|
|
2893
|
+
};
|
|
2894
|
+
|
|
2879
2895
|
const {M: M$4, m: m, L: L$5, l: l, H: H, h: h, V: V, v: v, C: C$3, c: c, S: S, s: s, Q: Q$3, q: q, T: T, t: t, A: A, a: a, Z: Z$4, z: z, N: N$3, D: D$3, X: X$3, G: G$3, F: F$4, O: O$3, P: P$3, U: U$3} = PathCommandMap;
|
|
2880
2896
|
|
|
2881
2897
|
const {rect: rect$2, roundRect: roundRect$2, arcTo: arcTo$3, arc: arc$3, ellipse: ellipse$4, quadraticCurveTo: quadraticCurveTo$1} = BezierHelper;
|
|
@@ -3154,30 +3170,34 @@ const PathConvert = {
|
|
|
3154
3170
|
return data;
|
|
3155
3171
|
},
|
|
3156
3172
|
objectToCanvasData(list) {
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3173
|
+
if (list[0].name.length > 1) {
|
|
3174
|
+
return PathCommandNodeHelper.toCommand(list);
|
|
3175
|
+
} else {
|
|
3176
|
+
const data = [];
|
|
3177
|
+
list.forEach(item => {
|
|
3178
|
+
switch (item.name) {
|
|
3179
|
+
case "M":
|
|
3180
|
+
data.push(M$4, item.x, item.y);
|
|
3181
|
+
break;
|
|
3163
3182
|
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3183
|
+
case "L":
|
|
3184
|
+
data.push(L$5, item.x, item.y);
|
|
3185
|
+
break;
|
|
3167
3186
|
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3187
|
+
case "C":
|
|
3188
|
+
data.push(C$3, item.x1, item.y1, item.x2, item.y2, item.x, item.y);
|
|
3189
|
+
break;
|
|
3171
3190
|
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3191
|
+
case "Q":
|
|
3192
|
+
data.push(Q$3, item.x1, item.y1, item.x, item.y);
|
|
3193
|
+
break;
|
|
3175
3194
|
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3195
|
+
case "Z":
|
|
3196
|
+
data.push(Z$4);
|
|
3197
|
+
}
|
|
3198
|
+
});
|
|
3199
|
+
return data;
|
|
3200
|
+
}
|
|
3181
3201
|
},
|
|
3182
3202
|
copyData(data, old, index, count) {
|
|
3183
3203
|
for (let i = index, end = index + count; i < end; i++) {
|
|
@@ -6835,7 +6855,7 @@ class LeafLevelList {
|
|
|
6835
6855
|
}
|
|
6836
6856
|
}
|
|
6837
6857
|
|
|
6838
|
-
const version = "1.
|
|
6858
|
+
const version = "1.11.0";
|
|
6839
6859
|
|
|
6840
6860
|
class LeaferCanvas extends LeaferCanvasBase {
|
|
6841
6861
|
get allowBackgroundColor() {
|
|
@@ -7609,7 +7629,9 @@ const {parse: parse, objectToCanvasData: objectToCanvasData} = PathConvert;
|
|
|
7609
7629
|
|
|
7610
7630
|
const {stintSet: stintSet$3} = DataHelper, {hasTransparent: hasTransparent$2} = ColorConvert;
|
|
7611
7631
|
|
|
7612
|
-
const emptyPaint = {
|
|
7632
|
+
const emptyPaint = {
|
|
7633
|
+
originPaint: {}
|
|
7634
|
+
};
|
|
7613
7635
|
|
|
7614
7636
|
const debug$1 = Debug.get("UIData");
|
|
7615
7637
|
|
|
@@ -8148,7 +8170,7 @@ let UI = UI_1 = class UI extends Leaf {
|
|
|
8148
8170
|
drawer.roundRect(x, y, width, height, isNumber(cornerRadius) ? [ cornerRadius ] : cornerRadius);
|
|
8149
8171
|
} else drawer.rect(x, y, width, height);
|
|
8150
8172
|
}
|
|
8151
|
-
drawImagePlaceholder(
|
|
8173
|
+
drawImagePlaceholder(_paint, canvas, renderOptions) {
|
|
8152
8174
|
Paint.fill(this.__.placeholderColor, this, canvas, renderOptions);
|
|
8153
8175
|
}
|
|
8154
8176
|
animate(keyframe, _options, _type, _isTemp) {
|
|
@@ -8833,7 +8855,7 @@ let Box = class Box extends Group {
|
|
|
8833
8855
|
const data = this.__, layout = this.__layout, {renderBounds: renderBounds, boxBounds: boxBounds} = layout, {overflow: overflow} = data;
|
|
8834
8856
|
const childrenRenderBounds = layout.childrenRenderBounds || (layout.childrenRenderBounds = getBoundsData());
|
|
8835
8857
|
super.__updateRenderBounds(childrenRenderBounds);
|
|
8836
|
-
if (isScrollMode = overflow.includes("scroll")) {
|
|
8858
|
+
if (isScrollMode = overflow && overflow.includes("scroll")) {
|
|
8837
8859
|
add(childrenRenderBounds, boxBounds);
|
|
8838
8860
|
scroll(childrenRenderBounds, data);
|
|
8839
8861
|
}
|
|
@@ -9406,30 +9428,31 @@ function fill(fill, ui, canvas, renderOptions) {
|
|
|
9406
9428
|
}
|
|
9407
9429
|
|
|
9408
9430
|
function fills(fills, ui, canvas, renderOptions) {
|
|
9409
|
-
let item;
|
|
9431
|
+
let item, originPaint, countImage;
|
|
9410
9432
|
for (let i = 0, len = fills.length; i < len; i++) {
|
|
9411
|
-
item = fills[i];
|
|
9433
|
+
item = fills[i], originPaint = item.originPaint;
|
|
9412
9434
|
if (item.image) {
|
|
9435
|
+
countImage ? countImage++ : countImage = 1;
|
|
9413
9436
|
if (PaintImage.checkImage(item, !ui.__.__font, ui, canvas, renderOptions)) continue;
|
|
9414
9437
|
if (!item.style) {
|
|
9415
|
-
if (
|
|
9438
|
+
if (countImage === 1 && item.image.isPlacehold) ui.drawImagePlaceholder(item, canvas, renderOptions);
|
|
9416
9439
|
continue;
|
|
9417
9440
|
}
|
|
9418
9441
|
}
|
|
9419
9442
|
canvas.fillStyle = item.style;
|
|
9420
|
-
if (item.transform ||
|
|
9443
|
+
if (item.transform || originPaint.scaleFixed) {
|
|
9421
9444
|
canvas.save();
|
|
9422
9445
|
if (item.transform) canvas.transform(item.transform);
|
|
9423
|
-
if (
|
|
9446
|
+
if (originPaint.scaleFixed) {
|
|
9424
9447
|
const {scaleX: scaleX, scaleY: scaleY} = ui.getRenderScaleData(true);
|
|
9425
|
-
if (
|
|
9448
|
+
if (originPaint.scaleFixed === true || originPaint.scaleFixed === "zoom-in" && scaleX > 1 && scaleY > 1) canvas.scale(1 / scaleX, 1 / scaleY);
|
|
9426
9449
|
}
|
|
9427
|
-
if (
|
|
9450
|
+
if (originPaint.blendMode) canvas.blendMode = originPaint.blendMode;
|
|
9428
9451
|
fillPathOrText(ui, canvas, renderOptions);
|
|
9429
9452
|
canvas.restore();
|
|
9430
9453
|
} else {
|
|
9431
|
-
if (
|
|
9432
|
-
canvas.saveBlendMode(
|
|
9454
|
+
if (originPaint.blendMode) {
|
|
9455
|
+
canvas.saveBlendMode(originPaint.blendMode);
|
|
9433
9456
|
fillPathOrText(ui, canvas, renderOptions);
|
|
9434
9457
|
canvas.restoreBlendMode();
|
|
9435
9458
|
} else fillPathOrText(ui, canvas, renderOptions);
|
|
@@ -9582,8 +9605,8 @@ function drawStrokesStyle(strokes, strokeWidthScale, isText, ui, canvas, renderO
|
|
|
9582
9605
|
const {strokeStyle: strokeStyle} = item;
|
|
9583
9606
|
strokeStyle ? canvas.setStroke(item.style, data.__getRealStrokeWidth(strokeStyle) * strokeWidthScale, data, strokeStyle) : canvas.setStroke(item.style, data.__strokeWidth * strokeWidthScale, data);
|
|
9584
9607
|
} else canvas.strokeStyle = item.style;
|
|
9585
|
-
if (item.blendMode) {
|
|
9586
|
-
canvas.saveBlendMode(item.blendMode);
|
|
9608
|
+
if (item.originPaint.blendMode) {
|
|
9609
|
+
canvas.saveBlendMode(item.originPaint.blendMode);
|
|
9587
9610
|
isText ? Paint.drawTextStroke(ui, canvas, renderOptions) : canvas.stroke();
|
|
9588
9611
|
canvas.restoreBlendMode();
|
|
9589
9612
|
} else {
|
|
@@ -9680,62 +9703,63 @@ function compute(attrName, ui) {
|
|
|
9680
9703
|
if (leafPaints.some(item => item.image)) isAlphaPixel = true;
|
|
9681
9704
|
isTransparent = true;
|
|
9682
9705
|
}
|
|
9683
|
-
|
|
9684
|
-
|
|
9685
|
-
|
|
9686
|
-
|
|
9706
|
+
if (attrName === "fill") {
|
|
9707
|
+
stintSet(data, "__isAlphaPixelFill", isAlphaPixel);
|
|
9708
|
+
stintSet(data, "__isTransparentFill", isTransparent);
|
|
9709
|
+
} else {
|
|
9710
|
+
stintSet(data, "__isAlphaPixelStroke", isAlphaPixel);
|
|
9711
|
+
stintSet(data, "__isTransparentStroke", isTransparent);
|
|
9712
|
+
stintSet(data, "__hasMultiStrokeStyle", maxChildStrokeWidth);
|
|
9713
|
+
}
|
|
9687
9714
|
} else {
|
|
9688
|
-
|
|
9689
|
-
stintSet(data, "__isTransparentStroke", isTransparent);
|
|
9690
|
-
stintSet(data, "__hasMultiStrokeStyle", maxChildStrokeWidth);
|
|
9715
|
+
data.__removePaint(attrName, false);
|
|
9691
9716
|
}
|
|
9692
9717
|
}
|
|
9693
9718
|
|
|
9694
9719
|
function getLeafPaint(attrName, paint, ui) {
|
|
9695
9720
|
if (!isObject(paint) || paint.visible === false || paint.opacity === 0) return undefined;
|
|
9696
|
-
let
|
|
9721
|
+
let leafPaint;
|
|
9697
9722
|
const {boxBounds: boxBounds} = ui.__layout;
|
|
9698
9723
|
switch (paint.type) {
|
|
9699
9724
|
case "image":
|
|
9700
|
-
|
|
9725
|
+
leafPaint = PaintImage.image(ui, attrName, paint, boxBounds, !recycleMap || !recycleMap[paint.url]);
|
|
9701
9726
|
break;
|
|
9702
9727
|
|
|
9703
9728
|
case "linear":
|
|
9704
|
-
|
|
9729
|
+
leafPaint = PaintGradient.linearGradient(paint, boxBounds);
|
|
9705
9730
|
break;
|
|
9706
9731
|
|
|
9707
9732
|
case "radial":
|
|
9708
|
-
|
|
9733
|
+
leafPaint = PaintGradient.radialGradient(paint, boxBounds);
|
|
9709
9734
|
break;
|
|
9710
9735
|
|
|
9711
9736
|
case "angular":
|
|
9712
|
-
|
|
9737
|
+
leafPaint = PaintGradient.conicGradient(paint, boxBounds);
|
|
9713
9738
|
break;
|
|
9714
9739
|
|
|
9715
9740
|
case "solid":
|
|
9716
9741
|
const {type: type, color: color, opacity: opacity} = paint;
|
|
9717
|
-
|
|
9742
|
+
leafPaint = {
|
|
9718
9743
|
type: type,
|
|
9719
9744
|
style: ColorConvert.string(color, opacity)
|
|
9720
9745
|
};
|
|
9721
9746
|
break;
|
|
9722
9747
|
|
|
9723
9748
|
default:
|
|
9724
|
-
if (!isUndefined(paint.r))
|
|
9749
|
+
if (!isUndefined(paint.r)) leafPaint = {
|
|
9725
9750
|
type: "solid",
|
|
9726
9751
|
style: ColorConvert.string(paint)
|
|
9727
9752
|
};
|
|
9728
9753
|
}
|
|
9729
|
-
if (
|
|
9730
|
-
|
|
9754
|
+
if (leafPaint) {
|
|
9755
|
+
leafPaint.originPaint = paint;
|
|
9756
|
+
if (isString(leafPaint.style) && hasTransparent$1(leafPaint.style)) leafPaint.isTransparent = true;
|
|
9731
9757
|
if (paint.style) {
|
|
9732
9758
|
if (paint.style.strokeWidth === 0) return undefined;
|
|
9733
|
-
|
|
9759
|
+
leafPaint.strokeStyle = paint.style;
|
|
9734
9760
|
}
|
|
9735
|
-
if (paint.editing) data.editing = paint.editing;
|
|
9736
|
-
if (paint.blendMode) data.blendMode = paint.blendMode;
|
|
9737
9761
|
}
|
|
9738
|
-
return
|
|
9762
|
+
return leafPaint;
|
|
9739
9763
|
}
|
|
9740
9764
|
|
|
9741
9765
|
const PaintModule = {
|
|
@@ -9868,10 +9892,6 @@ const tempScaleData = {};
|
|
|
9868
9892
|
const tempImage = {};
|
|
9869
9893
|
|
|
9870
9894
|
function createData(leafPaint, image, paint, box) {
|
|
9871
|
-
const {changeful: changeful, sync: sync, scaleFixed: scaleFixed} = paint;
|
|
9872
|
-
if (changeful) leafPaint.changeful = changeful;
|
|
9873
|
-
if (sync) leafPaint.sync = sync;
|
|
9874
|
-
if (scaleFixed) leafPaint.scaleFixed = scaleFixed;
|
|
9875
9895
|
leafPaint.data = PaintImage.getPatternData(paint, box, image);
|
|
9876
9896
|
}
|
|
9877
9897
|
|
|
@@ -10098,14 +10118,14 @@ function getPatternFixScale(paint, imageScaleX, imageScaleY) {
|
|
|
10098
10118
|
|
|
10099
10119
|
function checkImage(paint, drawImage, ui, canvas, renderOptions) {
|
|
10100
10120
|
const {scaleX: scaleX, scaleY: scaleY} = PaintImage.getImageRenderScaleData(paint, ui, canvas, renderOptions);
|
|
10101
|
-
const {image: image, data: data} = paint, {exporting: exporting} = renderOptions;
|
|
10121
|
+
const {image: image, data: data, originPaint: originPaint} = paint, {exporting: exporting} = renderOptions;
|
|
10102
10122
|
if (!data || paint.patternId === scaleX + "-" + scaleY && !exporting) {
|
|
10103
10123
|
return false;
|
|
10104
10124
|
} else {
|
|
10105
10125
|
if (drawImage) {
|
|
10106
10126
|
if (data.repeat) {
|
|
10107
10127
|
drawImage = false;
|
|
10108
|
-
} else if (!(
|
|
10128
|
+
} else if (!(originPaint.changeful || Platform.name === "miniapp" && ResizeEvent.isResizing(ui) || exporting)) {
|
|
10109
10129
|
drawImage = Platform.image.isLarge(image, scaleX, scaleY);
|
|
10110
10130
|
}
|
|
10111
10131
|
}
|
|
@@ -10117,16 +10137,16 @@ function checkImage(paint, drawImage, ui, canvas, renderOptions) {
|
|
|
10117
10137
|
PaintImage.drawImage(paint, scaleX, scaleY, ui, canvas, renderOptions);
|
|
10118
10138
|
return true;
|
|
10119
10139
|
} else {
|
|
10120
|
-
if (!paint.style ||
|
|
10140
|
+
if (!paint.style || originPaint.sync || exporting) PaintImage.createPattern(paint, ui, canvas, renderOptions); else PaintImage.createPatternTask(paint, ui, canvas, renderOptions);
|
|
10121
10141
|
return false;
|
|
10122
10142
|
}
|
|
10123
10143
|
}
|
|
10124
10144
|
}
|
|
10125
10145
|
|
|
10126
10146
|
function drawImage(paint, _imageScaleX, _imageScaleY, ui, canvas, _renderOptions) {
|
|
10127
|
-
const {data: data, image: image, blendMode: blendMode} = paint, {opacity: opacity, transform: transform} = data, view = image.getFull(data.filters), u = ui.__;
|
|
10147
|
+
const {data: data, image: image} = paint, {blendMode: blendMode} = paint.originPaint, {opacity: opacity, transform: transform} = data, view = image.getFull(data.filters), u = ui.__;
|
|
10128
10148
|
let {width: width, height: height} = image, clipUI;
|
|
10129
|
-
if (transform && !transform.onlyScale ||
|
|
10149
|
+
if ((clipUI = transform && !transform.onlyScale || u.path || u.cornerRadius) || opacity || blendMode) {
|
|
10130
10150
|
canvas.save();
|
|
10131
10151
|
clipUI && canvas.clipUI(ui);
|
|
10132
10152
|
blendMode && (canvas.blendMode = blendMode);
|
|
@@ -10141,7 +10161,7 @@ function drawImage(paint, _imageScaleX, _imageScaleY, ui, canvas, _renderOptions
|
|
|
10141
10161
|
}
|
|
10142
10162
|
|
|
10143
10163
|
function getImageRenderScaleData(paint, ui, canvas, _renderOptions) {
|
|
10144
|
-
const scaleData = ui.getRenderScaleData(true, paint.scaleFixed), {data: data} = paint;
|
|
10164
|
+
const scaleData = ui.getRenderScaleData(true, paint.originPaint.scaleFixed), {data: data} = paint;
|
|
10145
10165
|
if (canvas) {
|
|
10146
10166
|
const {pixelRatio: pixelRatio} = canvas;
|
|
10147
10167
|
scaleData.scaleX *= pixelRatio;
|
|
@@ -11075,4 +11095,4 @@ Object.assign(Effect, EffectModule);
|
|
|
11075
11095
|
|
|
11076
11096
|
useCanvas();
|
|
11077
11097
|
|
|
11078
|
-
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, LeaferImage, Line, LineData, MathHelper, Matrix, MatrixHelper, MyImage, NeedConvertToCanvasCommandMap, OneRadian, PI2, PI_2, Paint, PaintGradient, PaintImage, Path, PathArrow, PathBounds, PathCommandDataHelper, PathCommandMap, PathConvert, PathCorner, PathCreator, PathData, PathDrawer, PathHelper, 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, WaitHelper, WatchEvent, Watcher, affectRenderBoundsType, affectStrokeBoundsType, attr, autoLayoutType, boundsType, canvasPatch, canvasSizeAttrs, createAttr, createDescriptor, cursorType, dataProcessor, dataType, decorateLeafAttr, defineDataProcessor, defineKey, defineLeafAttr, dimType, doBoundsType, doStrokeType, 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, registerUI, registerUIEvent, resizeType, rewrite, rewriteAble, rotationType, scaleType, scrollType, sortType, strokeType, surfaceType, tempBounds$2 as tempBounds, tempMatrix$2 as tempMatrix, tempPoint$2 as tempPoint, tryToNumber, useCanvas, useModule, version, visibleType, zoomLayerType };
|
|
11098
|
+
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, LeaferImage, 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, 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, WaitHelper, WatchEvent, Watcher, affectRenderBoundsType, affectStrokeBoundsType, attr, autoLayoutType, boundsType, canvasPatch, canvasSizeAttrs, createAttr, createDescriptor, cursorType, dataProcessor, dataType, decorateLeafAttr, defineDataProcessor, defineKey, defineLeafAttr, dimType, doBoundsType, doStrokeType, 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, registerUI, registerUIEvent, resizeType, rewrite, rewriteAble, rotationType, scaleType, scrollType, sortType, strokeType, surfaceType, tempBounds$2 as tempBounds, tempMatrix$2 as tempMatrix, tempPoint$2 as tempPoint, tryToNumber, useCanvas, useModule, version, visibleType, zoomLayerType };
|