@syncfusion/ej2-image-editor 30.2.5 → 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 +7 -39
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +7 -39
- 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/export.js +1 -1
- package/src/image-editor/action/freehand-draw.d.ts +0 -1
- package/src/image-editor/action/freehand-draw.js +3 -25
- package/src/image-editor/action/undo-redo.js +3 -13
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
3
|
+
* version : 31.1.17
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ImageEditor } from '../index';
|
|
2
|
+
export declare class Crop {
|
|
3
|
+
private parent;
|
|
4
|
+
private lowerContext;
|
|
5
|
+
private upperContext;
|
|
6
|
+
private prevCropCurrObj;
|
|
7
|
+
private croppedDegree;
|
|
8
|
+
private cropDestPoints;
|
|
9
|
+
private tempFlipPanPoint;
|
|
10
|
+
private isPreventScaling;
|
|
11
|
+
private isInitCrop;
|
|
12
|
+
private isTransformCrop;
|
|
13
|
+
constructor(parent: ImageEditor);
|
|
14
|
+
destroy(): void;
|
|
15
|
+
private addEventListener;
|
|
16
|
+
private removeEventListener;
|
|
17
|
+
private cropping;
|
|
18
|
+
getModuleName(): string;
|
|
19
|
+
private updateCropPvtVar;
|
|
20
|
+
private reset;
|
|
21
|
+
private cropImg;
|
|
22
|
+
private adjustStraightenForShapes;
|
|
23
|
+
private updateCropObj;
|
|
24
|
+
private rotateCrop;
|
|
25
|
+
private revertTransform;
|
|
26
|
+
private updateFlipState;
|
|
27
|
+
private resetZoom;
|
|
28
|
+
private flipCrop;
|
|
29
|
+
private cropObjColl;
|
|
30
|
+
private cropPointCollection;
|
|
31
|
+
private cropFreehandDrawColl;
|
|
32
|
+
private resetAnnotations;
|
|
33
|
+
private setCurrSelPoints;
|
|
34
|
+
private panToSelRangle;
|
|
35
|
+
private cropCircle;
|
|
36
|
+
private getCurrCropState;
|
|
37
|
+
private updateRotatePan;
|
|
38
|
+
private crop;
|
|
39
|
+
private cropEvent;
|
|
40
|
+
private updateUndoRedoColl;
|
|
41
|
+
private resizeWrapper;
|
|
42
|
+
private calcRatio;
|
|
43
|
+
private getCurrFlipState;
|
|
44
|
+
}
|