@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,178 +0,0 @@
|
|
|
1
|
-
import { ImageEditor } from '../index';
|
|
2
|
-
export declare class Selection {
|
|
3
|
-
private parent;
|
|
4
|
-
private lowerContext;
|
|
5
|
-
private upperContext;
|
|
6
|
-
private diffPoint;
|
|
7
|
-
private oldPoint;
|
|
8
|
-
private isTouch;
|
|
9
|
-
private isObjSelected;
|
|
10
|
-
private isFhdPoint;
|
|
11
|
-
private dragPoint;
|
|
12
|
-
private isShapeInserted;
|
|
13
|
-
private tempActiveObj;
|
|
14
|
-
private isFirstMove;
|
|
15
|
-
private startTouches;
|
|
16
|
-
private tempTouches;
|
|
17
|
-
private currMousePoint;
|
|
18
|
-
private cursorTargetId;
|
|
19
|
-
private isPreventDragging;
|
|
20
|
-
private timer;
|
|
21
|
-
private tempObjColl;
|
|
22
|
-
private dragElement;
|
|
23
|
-
private textRow;
|
|
24
|
-
private mouseDownPoint;
|
|
25
|
-
private previousPoint;
|
|
26
|
-
private zoomType;
|
|
27
|
-
private isInitialTextEdited;
|
|
28
|
-
private dragCanvas;
|
|
29
|
-
private isFhdCustomized;
|
|
30
|
-
private touchEndPoint;
|
|
31
|
-
private panDown;
|
|
32
|
-
private isFhdEditing;
|
|
33
|
-
private currentDrawingShape;
|
|
34
|
-
private initialPrevObj;
|
|
35
|
-
private isCropSelection;
|
|
36
|
-
private isPan;
|
|
37
|
-
private pathAdjustedIndex;
|
|
38
|
-
private touchTime;
|
|
39
|
-
private resizedElement;
|
|
40
|
-
private shapeResizingArgs;
|
|
41
|
-
private shapeMovingArgs;
|
|
42
|
-
private selectionResizingArgs;
|
|
43
|
-
private isImageClarity;
|
|
44
|
-
private isPinching;
|
|
45
|
-
private isSliding;
|
|
46
|
-
private mouseDown;
|
|
47
|
-
private isSliderActive;
|
|
48
|
-
private arrowShape;
|
|
49
|
-
private isPreventShaping;
|
|
50
|
-
private isGrabbing;
|
|
51
|
-
private isTouchDblClick;
|
|
52
|
-
private isMouseDown;
|
|
53
|
-
private isMouseUp;
|
|
54
|
-
private mouseWheel;
|
|
55
|
-
private isTransformedShape;
|
|
56
|
-
private mouseClickPoint;
|
|
57
|
-
constructor(parent: ImageEditor);
|
|
58
|
-
destroy(): void;
|
|
59
|
-
private addEventListener;
|
|
60
|
-
private removeEventListener;
|
|
61
|
-
private selection;
|
|
62
|
-
getModuleName(): string;
|
|
63
|
-
private updatePrivateVariables;
|
|
64
|
-
private reset;
|
|
65
|
-
private performTabAction;
|
|
66
|
-
private selMouseUpEvent;
|
|
67
|
-
private getMouseCursor;
|
|
68
|
-
private setCursor;
|
|
69
|
-
private getHighestOrder;
|
|
70
|
-
drawMaskCircle(x: number, y: number): void;
|
|
71
|
-
private setCursorForActObj;
|
|
72
|
-
private setCursorForPath;
|
|
73
|
-
private setCursorForLineArrow;
|
|
74
|
-
private setCursorForRotatedObject;
|
|
75
|
-
private adjustCursorStylesForRotatedState;
|
|
76
|
-
private getResizeElement;
|
|
77
|
-
private setCursorForFreehandDrawing;
|
|
78
|
-
private setCursorFromObj;
|
|
79
|
-
private isInside;
|
|
80
|
-
private preventResizing;
|
|
81
|
-
private updateActivePoint;
|
|
82
|
-
private isShapeDragOut;
|
|
83
|
-
private isObjOutsideImg;
|
|
84
|
-
private triggerShapeChange;
|
|
85
|
-
private setDragWidth;
|
|
86
|
-
private setDragHeight;
|
|
87
|
-
private limitDrag;
|
|
88
|
-
private isMouseOutsideImg;
|
|
89
|
-
private preventDraggingInvertly;
|
|
90
|
-
private preventTextDraggingInvertly;
|
|
91
|
-
private preventInverseResize;
|
|
92
|
-
private getScaleRatio;
|
|
93
|
-
private findImageRatio;
|
|
94
|
-
private revertResizing;
|
|
95
|
-
private performSEResize;
|
|
96
|
-
private performNWResize;
|
|
97
|
-
private isCustomSelection;
|
|
98
|
-
private revertCustomSelection;
|
|
99
|
-
private revertPoints;
|
|
100
|
-
private updateNWPoints;
|
|
101
|
-
private updateNPoints;
|
|
102
|
-
private updateNEPoints;
|
|
103
|
-
private updateWPoints;
|
|
104
|
-
private updateEPoints;
|
|
105
|
-
private updateSWPoints;
|
|
106
|
-
private updateSPoints;
|
|
107
|
-
private updateSEPoints;
|
|
108
|
-
private resizeImg;
|
|
109
|
-
private adjustNWPoints;
|
|
110
|
-
private adjustNEPoints;
|
|
111
|
-
private adjustSWPoints;
|
|
112
|
-
private adjustSEPoints;
|
|
113
|
-
private adjustRotationPoints;
|
|
114
|
-
private rotatePoints;
|
|
115
|
-
private setResizedValue;
|
|
116
|
-
private getResizeDirection;
|
|
117
|
-
private getResizedElement;
|
|
118
|
-
private updateCursorStyles;
|
|
119
|
-
private updateCursorStylesForLineArrow;
|
|
120
|
-
private updateCursorStylesForPath;
|
|
121
|
-
private setTextSelection;
|
|
122
|
-
private setActivePoint;
|
|
123
|
-
private mouseDownEventHandler;
|
|
124
|
-
private getImagePoints;
|
|
125
|
-
private clickEvent;
|
|
126
|
-
private mouseMoveEventHandler;
|
|
127
|
-
private mouseUpEventHandler;
|
|
128
|
-
private adjustActObjForLineArrow;
|
|
129
|
-
private updPtCollForShpRot;
|
|
130
|
-
private setXYPoints;
|
|
131
|
-
private getCurrentIndex;
|
|
132
|
-
private isShapeClick;
|
|
133
|
-
private isShapeTouch;
|
|
134
|
-
private isFreehandDrawTouch;
|
|
135
|
-
private applyObj;
|
|
136
|
-
private applyCurrShape;
|
|
137
|
-
private canvasMouseDownHandler;
|
|
138
|
-
private canvasMouseMoveHandler;
|
|
139
|
-
private canvasMouseUpHandler;
|
|
140
|
-
private touchStartHandler;
|
|
141
|
-
private unwireEvent;
|
|
142
|
-
private keyDownEventHandler;
|
|
143
|
-
private performEnterAction;
|
|
144
|
-
private focusRatioBtn;
|
|
145
|
-
private isKeyBoardCrop;
|
|
146
|
-
private beforeSaveEvent;
|
|
147
|
-
private handleScroll;
|
|
148
|
-
private textKeyDown;
|
|
149
|
-
private clearSelection;
|
|
150
|
-
private setDragDirection;
|
|
151
|
-
private calcShapeRatio;
|
|
152
|
-
private getScale;
|
|
153
|
-
private findTarget;
|
|
154
|
-
private findTargetObj;
|
|
155
|
-
private shapeEvent;
|
|
156
|
-
private upgradeImageQuality;
|
|
157
|
-
private applyTransformToImg;
|
|
158
|
-
private targetTouches;
|
|
159
|
-
private calculateScale;
|
|
160
|
-
private getDistance;
|
|
161
|
-
private redrawShape;
|
|
162
|
-
private setTimer;
|
|
163
|
-
private applyCurrActObj;
|
|
164
|
-
private getCurrentFlipState;
|
|
165
|
-
private setTextBoxStylesToActObj;
|
|
166
|
-
private rgbToHex;
|
|
167
|
-
private padLeft;
|
|
168
|
-
private deleteItem;
|
|
169
|
-
private updateFreehandDrawColorChange;
|
|
170
|
-
private updatePrevShapeSettings;
|
|
171
|
-
private updateTransColl;
|
|
172
|
-
private getArrowType;
|
|
173
|
-
private getRectanglePoints;
|
|
174
|
-
private getTransRotationPoint;
|
|
175
|
-
private getNumTextValue;
|
|
176
|
-
private isValueUpdated;
|
|
177
|
-
private allowOutofBound;
|
|
178
|
-
}
|