@syncfusion/ej2-image-editor 30.2.4 → 31.1.17
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 +3 -3
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +3 -3
- 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/dist/ts/image-editor/action/crop.d.ts +44 -0
- package/dist/ts/image-editor/action/crop.ts +867 -0
- package/dist/ts/image-editor/action/draw.d.ts +187 -0
- package/dist/ts/image-editor/action/draw.ts +4924 -0
- package/dist/ts/image-editor/action/export.d.ts +29 -0
- package/dist/ts/image-editor/action/export.ts +509 -0
- package/dist/ts/image-editor/action/filter.d.ts +48 -0
- package/dist/ts/image-editor/action/filter.ts +872 -0
- package/dist/ts/image-editor/action/freehand-draw.d.ts +68 -0
- package/dist/ts/image-editor/action/freehand-draw.ts +1135 -0
- package/dist/ts/image-editor/action/index.d.ts +9 -0
- package/dist/ts/image-editor/action/index.ts +9 -0
- package/dist/ts/image-editor/action/selection.d.ts +178 -0
- package/dist/ts/image-editor/action/selection.ts +5241 -0
- package/dist/ts/image-editor/action/shape.d.ts +130 -0
- package/dist/ts/image-editor/action/shape.ts +3917 -0
- package/dist/ts/image-editor/action/transform.d.ts +77 -0
- package/dist/ts/image-editor/action/transform.ts +2008 -0
- package/dist/ts/image-editor/action/undo-redo.d.ts +52 -0
- package/dist/ts/image-editor/action/undo-redo.ts +1169 -0
- package/dist/ts/image-editor/base/enum.d.ts +277 -0
- package/dist/ts/image-editor/base/enum.ts +288 -0
- package/dist/ts/image-editor/base/image-editor-model.d.ts +770 -0
- package/dist/ts/image-editor/base/image-editor.d.ts +1928 -0
- package/dist/ts/image-editor/base/image-editor.ts +5496 -0
- package/dist/ts/image-editor/base/index.d.ts +4 -0
- package/dist/ts/image-editor/base/index.ts +4 -0
- package/dist/ts/image-editor/base/interface.d.ts +1637 -0
- package/dist/ts/image-editor/base/interface.ts +1709 -0
- package/dist/ts/image-editor/index.d.ts +3 -0
- package/dist/ts/image-editor/index.ts +3 -0
- package/dist/ts/image-editor/renderer/index.d.ts +1 -0
- package/dist/ts/image-editor/renderer/index.ts +1 -0
- package/dist/ts/image-editor/renderer/toolbar.d.ts +171 -0
- package/dist/ts/image-editor/renderer/toolbar.ts +6356 -0
- package/dist/ts/index.d.ts +4 -0
- package/dist/ts/index.ts +4 -0
- package/package.json +47 -15
- package/src/image-editor/action/undo-redo.js +3 -3
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { ImageEditor } from '../index';
|
|
2
|
+
export declare class Draw {
|
|
3
|
+
private parent;
|
|
4
|
+
private lowerContext;
|
|
5
|
+
private upperContext;
|
|
6
|
+
private isInitialLoading;
|
|
7
|
+
private fileName;
|
|
8
|
+
private fileType;
|
|
9
|
+
private isErrorImage;
|
|
10
|
+
private initZoomValue;
|
|
11
|
+
private isShapeTextInserted;
|
|
12
|
+
private currSelPoint;
|
|
13
|
+
private isRotateZoom;
|
|
14
|
+
private tempStrokeSettings;
|
|
15
|
+
private tempTextSettings;
|
|
16
|
+
private tempAdjValue;
|
|
17
|
+
private tempFilter;
|
|
18
|
+
private tempUndoRedoStep;
|
|
19
|
+
private tempFreehandCounter;
|
|
20
|
+
private tempCurrFhdIndex;
|
|
21
|
+
private tempZoomFactor;
|
|
22
|
+
private isCancelAction;
|
|
23
|
+
private rotatedFlipCropSel;
|
|
24
|
+
private prevActObj;
|
|
25
|
+
private dx;
|
|
26
|
+
private dy;
|
|
27
|
+
private startCircleIntersectX1;
|
|
28
|
+
private startCircleIntersectY1;
|
|
29
|
+
private endCircleIntersectX1;
|
|
30
|
+
private endCircleIntersectY1;
|
|
31
|
+
private squareEndIntersectX1;
|
|
32
|
+
private squareEndIntersectY1;
|
|
33
|
+
private squareStartIntersectX1;
|
|
34
|
+
private squareStartIntersectY1;
|
|
35
|
+
private zoomCrop;
|
|
36
|
+
private isImageEdited;
|
|
37
|
+
private openURL;
|
|
38
|
+
private inputElem;
|
|
39
|
+
private isFileChanged;
|
|
40
|
+
private isNewPath;
|
|
41
|
+
private isResizeSelect;
|
|
42
|
+
private arrowDimension;
|
|
43
|
+
private origDim;
|
|
44
|
+
private isImageApply;
|
|
45
|
+
private straightenActObj;
|
|
46
|
+
private straightenInitZoom;
|
|
47
|
+
private imgCanvasPoints;
|
|
48
|
+
private straightenDestPoints;
|
|
49
|
+
private isCropSelect;
|
|
50
|
+
private isDownScale;
|
|
51
|
+
private tempStraightenDestPoints;
|
|
52
|
+
private preventStraightening;
|
|
53
|
+
private tempObjColl;
|
|
54
|
+
private tempPointColl;
|
|
55
|
+
private imageBackgroundColor;
|
|
56
|
+
private tempStrokeWidth;
|
|
57
|
+
private allowRedactStraighten;
|
|
58
|
+
private isNullExtension;
|
|
59
|
+
private isRedactStraighten;
|
|
60
|
+
constructor(parent: ImageEditor);
|
|
61
|
+
destroy(): void;
|
|
62
|
+
private addEventListener;
|
|
63
|
+
private removeEventListener;
|
|
64
|
+
private draw;
|
|
65
|
+
getModuleName(): string;
|
|
66
|
+
private updatePrivateVariables;
|
|
67
|
+
private reset;
|
|
68
|
+
private redrawDownScale;
|
|
69
|
+
private updateFinetune;
|
|
70
|
+
private drawImage;
|
|
71
|
+
private drawObject;
|
|
72
|
+
private rotateContext;
|
|
73
|
+
private setDragLimit;
|
|
74
|
+
private drawCropRatio;
|
|
75
|
+
private adjToCenter;
|
|
76
|
+
private enlargeToImg;
|
|
77
|
+
private updateActiveObject;
|
|
78
|
+
private drawOuterSelection;
|
|
79
|
+
private drawArrowHead;
|
|
80
|
+
private drawShapeObj;
|
|
81
|
+
private updatePoints;
|
|
82
|
+
private updateWidthHeight;
|
|
83
|
+
private drawCornerCircles;
|
|
84
|
+
private drawCenterCircles;
|
|
85
|
+
private drawRotationArcLine;
|
|
86
|
+
private drawSquareLines;
|
|
87
|
+
private drawRoundedRect;
|
|
88
|
+
private drawSelection;
|
|
89
|
+
private shapeCircle;
|
|
90
|
+
private shapeLine;
|
|
91
|
+
private manipulateSaveCtx;
|
|
92
|
+
private arrow;
|
|
93
|
+
private arrowSolid;
|
|
94
|
+
private arrowSquareStart;
|
|
95
|
+
private arrowSquareEnd;
|
|
96
|
+
private arrowCircle;
|
|
97
|
+
private arrowCircleSolid;
|
|
98
|
+
private arrowBar;
|
|
99
|
+
private shapeImage;
|
|
100
|
+
private shapeText;
|
|
101
|
+
private drawTextDecoration;
|
|
102
|
+
private updateActPoint;
|
|
103
|
+
private rotateImage;
|
|
104
|
+
private rotateText;
|
|
105
|
+
private textFlipDegree;
|
|
106
|
+
private clearOuterCanvas;
|
|
107
|
+
private setDestPoints;
|
|
108
|
+
private updateCurrTransState;
|
|
109
|
+
private currTransState;
|
|
110
|
+
private setTransformColl;
|
|
111
|
+
private setTransform;
|
|
112
|
+
private drawImgToCanvas;
|
|
113
|
+
private renderImage;
|
|
114
|
+
private imageOnLoad;
|
|
115
|
+
private errorLoading;
|
|
116
|
+
private updateBaseImgCanvas;
|
|
117
|
+
private updateCanvas;
|
|
118
|
+
private resetFrameZoom;
|
|
119
|
+
private performCancel;
|
|
120
|
+
private cancelItems;
|
|
121
|
+
private cancelPen;
|
|
122
|
+
private cancelText;
|
|
123
|
+
private cancelShape;
|
|
124
|
+
private cancelSelection;
|
|
125
|
+
private updateCropSelObj;
|
|
126
|
+
private updateCropSelection;
|
|
127
|
+
private updateFlipPan;
|
|
128
|
+
private select;
|
|
129
|
+
private drawNewSelection;
|
|
130
|
+
private updateSelectionInsert;
|
|
131
|
+
private drawCustomSelection;
|
|
132
|
+
private adjToStraighten;
|
|
133
|
+
private adjActObj;
|
|
134
|
+
private callUpdateCurrTransState;
|
|
135
|
+
private resetPanPoints;
|
|
136
|
+
private setClientTransDim;
|
|
137
|
+
private redrawImgWithObj;
|
|
138
|
+
private setCurrentObj;
|
|
139
|
+
private drawCropSelectionImage;
|
|
140
|
+
private performPointZoom;
|
|
141
|
+
private panToPoint;
|
|
142
|
+
private adjustPanning;
|
|
143
|
+
private panToSel;
|
|
144
|
+
private drawZoomPanImage;
|
|
145
|
+
private openNewImage;
|
|
146
|
+
private getImageSizeFromURL;
|
|
147
|
+
private dlgBtnClick;
|
|
148
|
+
private dlgCloseBtnClick;
|
|
149
|
+
private applyDialogOption;
|
|
150
|
+
private showDialogPopup;
|
|
151
|
+
private restoreOldImage;
|
|
152
|
+
private handleFileSize;
|
|
153
|
+
private openImageData;
|
|
154
|
+
private getImageSize;
|
|
155
|
+
private open;
|
|
156
|
+
private getInitialLoaded;
|
|
157
|
+
private getFileExtensionFromURL;
|
|
158
|
+
private fileSelect;
|
|
159
|
+
private checkToolbarTemplate;
|
|
160
|
+
private moveToSelectionRange;
|
|
161
|
+
private isSelectionBiggerThanCanvas;
|
|
162
|
+
private isSelectionOutsideCanvas;
|
|
163
|
+
private downScaleImgCanvas;
|
|
164
|
+
private downScale;
|
|
165
|
+
private drawImgToCtx;
|
|
166
|
+
private getFrameColor;
|
|
167
|
+
private applyFrame;
|
|
168
|
+
private triggerFrameChange;
|
|
169
|
+
private setFrameObj;
|
|
170
|
+
private zoomToSel;
|
|
171
|
+
private isDestPointSmall;
|
|
172
|
+
private calcStraightenedPoints;
|
|
173
|
+
private performDummyZoom;
|
|
174
|
+
private setZoomPan;
|
|
175
|
+
private updateImgCanvasPoints;
|
|
176
|
+
private isLinesIntersect;
|
|
177
|
+
private isSelOutsideImg;
|
|
178
|
+
private calcTriangleArea;
|
|
179
|
+
private checkPointPosition;
|
|
180
|
+
private getImagePoints;
|
|
181
|
+
private doIntersect;
|
|
182
|
+
private initiation;
|
|
183
|
+
private onSegment;
|
|
184
|
+
private isInsideRect;
|
|
185
|
+
private setDestForStraighten;
|
|
186
|
+
private drawRedact;
|
|
187
|
+
}
|