leafer-draw 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/web.cjs +39 -41
- package/dist/web.esm.js +39 -41
- package/dist/web.esm.min.js +1 -1
- package/dist/web.esm.min.js.map +1 -1
- package/dist/web.js +89 -69
- package/dist/web.min.cjs +1 -1
- package/dist/web.min.cjs.map +1 -1
- package/dist/web.min.js +1 -1
- package/dist/web.min.js.map +1 -1
- package/dist/web.module.js +90 -70
- package/dist/web.module.min.js +1 -1
- package/dist/web.module.min.js.map +1 -1
- package/package.json +3 -3
package/dist/web.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
|
const debug$4 = Debug.get("LeaferCanvas");
|
|
6841
6861
|
|
|
@@ -7815,7 +7835,9 @@ const {parse: parse, objectToCanvasData: objectToCanvasData} = PathConvert;
|
|
|
7815
7835
|
|
|
7816
7836
|
const {stintSet: stintSet$3} = DataHelper, {hasTransparent: hasTransparent$2} = ColorConvert;
|
|
7817
7837
|
|
|
7818
|
-
const emptyPaint = {
|
|
7838
|
+
const emptyPaint = {
|
|
7839
|
+
originPaint: {}
|
|
7840
|
+
};
|
|
7819
7841
|
|
|
7820
7842
|
const debug$1 = Debug.get("UIData");
|
|
7821
7843
|
|
|
@@ -8354,7 +8376,7 @@ let UI = UI_1 = class UI extends Leaf {
|
|
|
8354
8376
|
drawer.roundRect(x, y, width, height, isNumber(cornerRadius) ? [ cornerRadius ] : cornerRadius);
|
|
8355
8377
|
} else drawer.rect(x, y, width, height);
|
|
8356
8378
|
}
|
|
8357
|
-
drawImagePlaceholder(
|
|
8379
|
+
drawImagePlaceholder(_paint, canvas, renderOptions) {
|
|
8358
8380
|
Paint.fill(this.__.placeholderColor, this, canvas, renderOptions);
|
|
8359
8381
|
}
|
|
8360
8382
|
animate(keyframe, _options, _type, _isTemp) {
|
|
@@ -9039,7 +9061,7 @@ let Box = class Box extends Group {
|
|
|
9039
9061
|
const data = this.__, layout = this.__layout, {renderBounds: renderBounds, boxBounds: boxBounds} = layout, {overflow: overflow} = data;
|
|
9040
9062
|
const childrenRenderBounds = layout.childrenRenderBounds || (layout.childrenRenderBounds = getBoundsData());
|
|
9041
9063
|
super.__updateRenderBounds(childrenRenderBounds);
|
|
9042
|
-
if (isScrollMode = overflow.includes("scroll")) {
|
|
9064
|
+
if (isScrollMode = overflow && overflow.includes("scroll")) {
|
|
9043
9065
|
add(childrenRenderBounds, boxBounds);
|
|
9044
9066
|
scroll(childrenRenderBounds, data);
|
|
9045
9067
|
}
|
|
@@ -9612,30 +9634,31 @@ function fill(fill, ui, canvas, renderOptions) {
|
|
|
9612
9634
|
}
|
|
9613
9635
|
|
|
9614
9636
|
function fills(fills, ui, canvas, renderOptions) {
|
|
9615
|
-
let item;
|
|
9637
|
+
let item, originPaint, countImage;
|
|
9616
9638
|
for (let i = 0, len = fills.length; i < len; i++) {
|
|
9617
|
-
item = fills[i];
|
|
9639
|
+
item = fills[i], originPaint = item.originPaint;
|
|
9618
9640
|
if (item.image) {
|
|
9641
|
+
countImage ? countImage++ : countImage = 1;
|
|
9619
9642
|
if (PaintImage.checkImage(item, !ui.__.__font, ui, canvas, renderOptions)) continue;
|
|
9620
9643
|
if (!item.style) {
|
|
9621
|
-
if (
|
|
9644
|
+
if (countImage === 1 && item.image.isPlacehold) ui.drawImagePlaceholder(item, canvas, renderOptions);
|
|
9622
9645
|
continue;
|
|
9623
9646
|
}
|
|
9624
9647
|
}
|
|
9625
9648
|
canvas.fillStyle = item.style;
|
|
9626
|
-
if (item.transform ||
|
|
9649
|
+
if (item.transform || originPaint.scaleFixed) {
|
|
9627
9650
|
canvas.save();
|
|
9628
9651
|
if (item.transform) canvas.transform(item.transform);
|
|
9629
|
-
if (
|
|
9652
|
+
if (originPaint.scaleFixed) {
|
|
9630
9653
|
const {scaleX: scaleX, scaleY: scaleY} = ui.getRenderScaleData(true);
|
|
9631
|
-
if (
|
|
9654
|
+
if (originPaint.scaleFixed === true || originPaint.scaleFixed === "zoom-in" && scaleX > 1 && scaleY > 1) canvas.scale(1 / scaleX, 1 / scaleY);
|
|
9632
9655
|
}
|
|
9633
|
-
if (
|
|
9656
|
+
if (originPaint.blendMode) canvas.blendMode = originPaint.blendMode;
|
|
9634
9657
|
fillPathOrText(ui, canvas, renderOptions);
|
|
9635
9658
|
canvas.restore();
|
|
9636
9659
|
} else {
|
|
9637
|
-
if (
|
|
9638
|
-
canvas.saveBlendMode(
|
|
9660
|
+
if (originPaint.blendMode) {
|
|
9661
|
+
canvas.saveBlendMode(originPaint.blendMode);
|
|
9639
9662
|
fillPathOrText(ui, canvas, renderOptions);
|
|
9640
9663
|
canvas.restoreBlendMode();
|
|
9641
9664
|
} else fillPathOrText(ui, canvas, renderOptions);
|
|
@@ -9788,8 +9811,8 @@ function drawStrokesStyle(strokes, strokeWidthScale, isText, ui, canvas, renderO
|
|
|
9788
9811
|
const {strokeStyle: strokeStyle} = item;
|
|
9789
9812
|
strokeStyle ? canvas.setStroke(item.style, data.__getRealStrokeWidth(strokeStyle) * strokeWidthScale, data, strokeStyle) : canvas.setStroke(item.style, data.__strokeWidth * strokeWidthScale, data);
|
|
9790
9813
|
} else canvas.strokeStyle = item.style;
|
|
9791
|
-
if (item.blendMode) {
|
|
9792
|
-
canvas.saveBlendMode(item.blendMode);
|
|
9814
|
+
if (item.originPaint.blendMode) {
|
|
9815
|
+
canvas.saveBlendMode(item.originPaint.blendMode);
|
|
9793
9816
|
isText ? Paint.drawTextStroke(ui, canvas, renderOptions) : canvas.stroke();
|
|
9794
9817
|
canvas.restoreBlendMode();
|
|
9795
9818
|
} else {
|
|
@@ -9886,62 +9909,63 @@ function compute(attrName, ui) {
|
|
|
9886
9909
|
if (leafPaints.some(item => item.image)) isAlphaPixel = true;
|
|
9887
9910
|
isTransparent = true;
|
|
9888
9911
|
}
|
|
9889
|
-
|
|
9890
|
-
|
|
9891
|
-
|
|
9892
|
-
|
|
9912
|
+
if (attrName === "fill") {
|
|
9913
|
+
stintSet(data, "__isAlphaPixelFill", isAlphaPixel);
|
|
9914
|
+
stintSet(data, "__isTransparentFill", isTransparent);
|
|
9915
|
+
} else {
|
|
9916
|
+
stintSet(data, "__isAlphaPixelStroke", isAlphaPixel);
|
|
9917
|
+
stintSet(data, "__isTransparentStroke", isTransparent);
|
|
9918
|
+
stintSet(data, "__hasMultiStrokeStyle", maxChildStrokeWidth);
|
|
9919
|
+
}
|
|
9893
9920
|
} else {
|
|
9894
|
-
|
|
9895
|
-
stintSet(data, "__isTransparentStroke", isTransparent);
|
|
9896
|
-
stintSet(data, "__hasMultiStrokeStyle", maxChildStrokeWidth);
|
|
9921
|
+
data.__removePaint(attrName, false);
|
|
9897
9922
|
}
|
|
9898
9923
|
}
|
|
9899
9924
|
|
|
9900
9925
|
function getLeafPaint(attrName, paint, ui) {
|
|
9901
9926
|
if (!isObject(paint) || paint.visible === false || paint.opacity === 0) return undefined;
|
|
9902
|
-
let
|
|
9927
|
+
let leafPaint;
|
|
9903
9928
|
const {boxBounds: boxBounds} = ui.__layout;
|
|
9904
9929
|
switch (paint.type) {
|
|
9905
9930
|
case "image":
|
|
9906
|
-
|
|
9931
|
+
leafPaint = PaintImage.image(ui, attrName, paint, boxBounds, !recycleMap || !recycleMap[paint.url]);
|
|
9907
9932
|
break;
|
|
9908
9933
|
|
|
9909
9934
|
case "linear":
|
|
9910
|
-
|
|
9935
|
+
leafPaint = PaintGradient.linearGradient(paint, boxBounds);
|
|
9911
9936
|
break;
|
|
9912
9937
|
|
|
9913
9938
|
case "radial":
|
|
9914
|
-
|
|
9939
|
+
leafPaint = PaintGradient.radialGradient(paint, boxBounds);
|
|
9915
9940
|
break;
|
|
9916
9941
|
|
|
9917
9942
|
case "angular":
|
|
9918
|
-
|
|
9943
|
+
leafPaint = PaintGradient.conicGradient(paint, boxBounds);
|
|
9919
9944
|
break;
|
|
9920
9945
|
|
|
9921
9946
|
case "solid":
|
|
9922
9947
|
const {type: type, color: color, opacity: opacity} = paint;
|
|
9923
|
-
|
|
9948
|
+
leafPaint = {
|
|
9924
9949
|
type: type,
|
|
9925
9950
|
style: ColorConvert.string(color, opacity)
|
|
9926
9951
|
};
|
|
9927
9952
|
break;
|
|
9928
9953
|
|
|
9929
9954
|
default:
|
|
9930
|
-
if (!isUndefined(paint.r))
|
|
9955
|
+
if (!isUndefined(paint.r)) leafPaint = {
|
|
9931
9956
|
type: "solid",
|
|
9932
9957
|
style: ColorConvert.string(paint)
|
|
9933
9958
|
};
|
|
9934
9959
|
}
|
|
9935
|
-
if (
|
|
9936
|
-
|
|
9960
|
+
if (leafPaint) {
|
|
9961
|
+
leafPaint.originPaint = paint;
|
|
9962
|
+
if (isString(leafPaint.style) && hasTransparent$1(leafPaint.style)) leafPaint.isTransparent = true;
|
|
9937
9963
|
if (paint.style) {
|
|
9938
9964
|
if (paint.style.strokeWidth === 0) return undefined;
|
|
9939
|
-
|
|
9965
|
+
leafPaint.strokeStyle = paint.style;
|
|
9940
9966
|
}
|
|
9941
|
-
if (paint.editing) data.editing = paint.editing;
|
|
9942
|
-
if (paint.blendMode) data.blendMode = paint.blendMode;
|
|
9943
9967
|
}
|
|
9944
|
-
return
|
|
9968
|
+
return leafPaint;
|
|
9945
9969
|
}
|
|
9946
9970
|
|
|
9947
9971
|
const PaintModule = {
|
|
@@ -10074,10 +10098,6 @@ const tempScaleData = {};
|
|
|
10074
10098
|
const tempImage = {};
|
|
10075
10099
|
|
|
10076
10100
|
function createData(leafPaint, image, paint, box) {
|
|
10077
|
-
const {changeful: changeful, sync: sync, scaleFixed: scaleFixed} = paint;
|
|
10078
|
-
if (changeful) leafPaint.changeful = changeful;
|
|
10079
|
-
if (sync) leafPaint.sync = sync;
|
|
10080
|
-
if (scaleFixed) leafPaint.scaleFixed = scaleFixed;
|
|
10081
10101
|
leafPaint.data = PaintImage.getPatternData(paint, box, image);
|
|
10082
10102
|
}
|
|
10083
10103
|
|
|
@@ -10304,14 +10324,14 @@ function getPatternFixScale(paint, imageScaleX, imageScaleY) {
|
|
|
10304
10324
|
|
|
10305
10325
|
function checkImage(paint, drawImage, ui, canvas, renderOptions) {
|
|
10306
10326
|
const {scaleX: scaleX, scaleY: scaleY} = PaintImage.getImageRenderScaleData(paint, ui, canvas, renderOptions);
|
|
10307
|
-
const {image: image, data: data} = paint, {exporting: exporting} = renderOptions;
|
|
10327
|
+
const {image: image, data: data, originPaint: originPaint} = paint, {exporting: exporting} = renderOptions;
|
|
10308
10328
|
if (!data || paint.patternId === scaleX + "-" + scaleY && !exporting) {
|
|
10309
10329
|
return false;
|
|
10310
10330
|
} else {
|
|
10311
10331
|
if (drawImage) {
|
|
10312
10332
|
if (data.repeat) {
|
|
10313
10333
|
drawImage = false;
|
|
10314
|
-
} else if (!(
|
|
10334
|
+
} else if (!(originPaint.changeful || Platform.name === "miniapp" && ResizeEvent.isResizing(ui) || exporting)) {
|
|
10315
10335
|
drawImage = Platform.image.isLarge(image, scaleX, scaleY);
|
|
10316
10336
|
}
|
|
10317
10337
|
}
|
|
@@ -10323,16 +10343,16 @@ function checkImage(paint, drawImage, ui, canvas, renderOptions) {
|
|
|
10323
10343
|
PaintImage.drawImage(paint, scaleX, scaleY, ui, canvas, renderOptions);
|
|
10324
10344
|
return true;
|
|
10325
10345
|
} else {
|
|
10326
|
-
if (!paint.style ||
|
|
10346
|
+
if (!paint.style || originPaint.sync || exporting) PaintImage.createPattern(paint, ui, canvas, renderOptions); else PaintImage.createPatternTask(paint, ui, canvas, renderOptions);
|
|
10327
10347
|
return false;
|
|
10328
10348
|
}
|
|
10329
10349
|
}
|
|
10330
10350
|
}
|
|
10331
10351
|
|
|
10332
10352
|
function drawImage(paint, _imageScaleX, _imageScaleY, ui, canvas, _renderOptions) {
|
|
10333
|
-
const {data: data, image: image, blendMode: blendMode} = paint, {opacity: opacity, transform: transform} = data, view = image.getFull(data.filters), u = ui.__;
|
|
10353
|
+
const {data: data, image: image} = paint, {blendMode: blendMode} = paint.originPaint, {opacity: opacity, transform: transform} = data, view = image.getFull(data.filters), u = ui.__;
|
|
10334
10354
|
let {width: width, height: height} = image, clipUI;
|
|
10335
|
-
if (transform && !transform.onlyScale ||
|
|
10355
|
+
if ((clipUI = transform && !transform.onlyScale || u.path || u.cornerRadius) || opacity || blendMode) {
|
|
10336
10356
|
canvas.save();
|
|
10337
10357
|
clipUI && canvas.clipUI(ui);
|
|
10338
10358
|
blendMode && (canvas.blendMode = blendMode);
|
|
@@ -10347,7 +10367,7 @@ function drawImage(paint, _imageScaleX, _imageScaleY, ui, canvas, _renderOptions
|
|
|
10347
10367
|
}
|
|
10348
10368
|
|
|
10349
10369
|
function getImageRenderScaleData(paint, ui, canvas, _renderOptions) {
|
|
10350
|
-
const scaleData = ui.getRenderScaleData(true, paint.scaleFixed), {data: data} = paint;
|
|
10370
|
+
const scaleData = ui.getRenderScaleData(true, paint.originPaint.scaleFixed), {data: data} = paint;
|
|
10351
10371
|
if (canvas) {
|
|
10352
10372
|
const {pixelRatio: pixelRatio} = canvas;
|
|
10353
10373
|
scaleData.scaleX *= pixelRatio;
|
|
@@ -11281,4 +11301,4 @@ Object.assign(Effect, EffectModule);
|
|
|
11281
11301
|
|
|
11282
11302
|
useCanvas();
|
|
11283
11303
|
|
|
11284
|
-
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$1 as 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 };
|
|
11304
|
+
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$1 as 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 };
|