@syncfusion/ej2-image-editor 31.1.17 → 31.1.21
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/ej2-image-editor.umd.min.js +2 -2
- package/dist/ej2-image-editor.umd.min.js.map +1 -1
- package/dist/es6/ej2-image-editor.es2015.js +63 -7
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +63 -7
- package/dist/es6/ej2-image-editor.es5.js.map +1 -1
- package/dist/global/ej2-image-editor.min.js +2 -2
- package/dist/global/ej2-image-editor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +14 -46
- package/src/image-editor/action/export.js +6 -2
- package/src/image-editor/action/freehand-draw.d.ts +1 -0
- package/src/image-editor/action/freehand-draw.js +30 -3
- package/src/image-editor/action/selection.js +14 -2
- package/src/image-editor/action/undo-redo.js +10 -0
- package/src/image-editor/renderer/toolbar.js +3 -0
- package/dist/ts/image-editor/action/crop.d.ts +0 -44
- package/dist/ts/image-editor/action/crop.ts +0 -867
- package/dist/ts/image-editor/action/draw.d.ts +0 -187
- package/dist/ts/image-editor/action/draw.ts +0 -4924
- package/dist/ts/image-editor/action/export.d.ts +0 -29
- package/dist/ts/image-editor/action/export.ts +0 -509
- package/dist/ts/image-editor/action/filter.d.ts +0 -48
- package/dist/ts/image-editor/action/filter.ts +0 -872
- package/dist/ts/image-editor/action/freehand-draw.d.ts +0 -68
- package/dist/ts/image-editor/action/freehand-draw.ts +0 -1135
- package/dist/ts/image-editor/action/index.d.ts +0 -9
- package/dist/ts/image-editor/action/index.ts +0 -9
- package/dist/ts/image-editor/action/selection.d.ts +0 -178
- package/dist/ts/image-editor/action/selection.ts +0 -5241
- package/dist/ts/image-editor/action/shape.d.ts +0 -130
- package/dist/ts/image-editor/action/shape.ts +0 -3917
- package/dist/ts/image-editor/action/transform.d.ts +0 -77
- package/dist/ts/image-editor/action/transform.ts +0 -2008
- package/dist/ts/image-editor/action/undo-redo.d.ts +0 -52
- package/dist/ts/image-editor/action/undo-redo.ts +0 -1169
- package/dist/ts/image-editor/base/enum.d.ts +0 -277
- package/dist/ts/image-editor/base/enum.ts +0 -288
- package/dist/ts/image-editor/base/image-editor-model.d.ts +0 -770
- package/dist/ts/image-editor/base/image-editor.d.ts +0 -1928
- package/dist/ts/image-editor/base/image-editor.ts +0 -5496
- package/dist/ts/image-editor/base/index.d.ts +0 -4
- package/dist/ts/image-editor/base/index.ts +0 -4
- package/dist/ts/image-editor/base/interface.d.ts +0 -1637
- package/dist/ts/image-editor/base/interface.ts +0 -1709
- package/dist/ts/image-editor/index.d.ts +0 -3
- package/dist/ts/image-editor/index.ts +0 -3
- package/dist/ts/image-editor/renderer/index.d.ts +0 -1
- package/dist/ts/image-editor/renderer/index.ts +0 -1
- package/dist/ts/image-editor/renderer/toolbar.d.ts +0 -171
- package/dist/ts/image-editor/renderer/toolbar.ts +0 -6356
- package/dist/ts/index.d.ts +0 -4
- package/dist/ts/index.ts +0 -4
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { ImageEditor } from '../index';
|
|
2
|
-
export declare class Transform {
|
|
3
|
-
private parent;
|
|
4
|
-
private lowerContext;
|
|
5
|
-
private upperContext;
|
|
6
|
-
private zoomBtnHold;
|
|
7
|
-
private tempPanMove;
|
|
8
|
-
private panMove;
|
|
9
|
-
private isReverseFlip;
|
|
10
|
-
private disablePan;
|
|
11
|
-
private currDestPoint;
|
|
12
|
-
private isReverseRotate;
|
|
13
|
-
private flipColl;
|
|
14
|
-
private transCurrObj;
|
|
15
|
-
private prevZoomValue;
|
|
16
|
-
private tempActiveObj;
|
|
17
|
-
private isShape;
|
|
18
|
-
private cropDimension;
|
|
19
|
-
private isPreventSelect;
|
|
20
|
-
private prevResizeCurrObj;
|
|
21
|
-
private preventDownScale;
|
|
22
|
-
private resizedImgAngle;
|
|
23
|
-
private resizeEventCancel;
|
|
24
|
-
constructor(parent: ImageEditor);
|
|
25
|
-
destroy(): void;
|
|
26
|
-
private addEventListener;
|
|
27
|
-
private removeEventListener;
|
|
28
|
-
private transform;
|
|
29
|
-
getModuleName(): string;
|
|
30
|
-
private initTransformPvtVar;
|
|
31
|
-
private reset;
|
|
32
|
-
private rotateImage;
|
|
33
|
-
private rotateEvent;
|
|
34
|
-
private drawRotatedImage;
|
|
35
|
-
private rotateDegree;
|
|
36
|
-
private updateCurrSelectionPoint;
|
|
37
|
-
private flipImage;
|
|
38
|
-
private flipEvent;
|
|
39
|
-
private updateFlipState;
|
|
40
|
-
private horizontalFlip;
|
|
41
|
-
private verticalFlip;
|
|
42
|
-
private updateFlipColl;
|
|
43
|
-
private setDestPointsForFlipState;
|
|
44
|
-
private zoomAction;
|
|
45
|
-
private zoomEvent;
|
|
46
|
-
private disableZoomOutBtn;
|
|
47
|
-
private drawZoomImgToCanvas;
|
|
48
|
-
private rotatedFlip;
|
|
49
|
-
private rotateZoom;
|
|
50
|
-
private autoEnablePan;
|
|
51
|
-
private cropZoom;
|
|
52
|
-
private setZoomDimension;
|
|
53
|
-
private drawPannedImage;
|
|
54
|
-
private panEvent;
|
|
55
|
-
private drawPannImage;
|
|
56
|
-
private resetZoom;
|
|
57
|
-
private performTransformation;
|
|
58
|
-
private updateTransform;
|
|
59
|
-
private rotatePan;
|
|
60
|
-
private limitPan;
|
|
61
|
-
private pan;
|
|
62
|
-
private zoom;
|
|
63
|
-
private getCurrentZoomFactor;
|
|
64
|
-
private setCurrPanRegion;
|
|
65
|
-
private rotate;
|
|
66
|
-
private flip;
|
|
67
|
-
private update;
|
|
68
|
-
private calcMaxDimension;
|
|
69
|
-
private updatePanPoints;
|
|
70
|
-
private resizeImage;
|
|
71
|
-
private resizeCrop;
|
|
72
|
-
private resizeImg;
|
|
73
|
-
private updateResize;
|
|
74
|
-
private resize;
|
|
75
|
-
private resizeEventHandler;
|
|
76
|
-
private straightenImage;
|
|
77
|
-
}
|