@syncfusion/ej2-image-editor 21.2.6 → 22.1.34
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/.eslintrc.json +1 -0
- package/CHANGELOG.md +6 -24
- 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 +19186 -12390
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +19217 -12390
- 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 +11 -11
- package/src/image-editor/action/crop.d.ts +35 -0
- package/src/image-editor/action/crop.js +818 -0
- package/src/image-editor/action/draw.d.ts +122 -0
- package/src/image-editor/action/draw.js +3253 -0
- package/src/image-editor/action/export.d.ts +23 -0
- package/src/image-editor/action/export.js +364 -0
- package/src/image-editor/action/filter.d.ts +35 -0
- package/src/image-editor/action/filter.js +699 -0
- package/src/image-editor/action/freehand-draw.d.ts +61 -0
- package/src/image-editor/action/freehand-draw.js +1015 -0
- package/src/image-editor/action/index.d.ts +9 -0
- package/src/image-editor/action/index.js +9 -0
- package/src/image-editor/action/selection.d.ts +140 -0
- package/src/image-editor/action/selection.js +4689 -0
- package/src/image-editor/action/shape.d.ts +93 -0
- package/src/image-editor/action/shape.js +2657 -0
- package/src/image-editor/action/transform.d.ts +67 -0
- package/src/image-editor/action/transform.js +1670 -0
- package/src/image-editor/action/undo-redo.d.ts +43 -0
- package/src/image-editor/action/undo-redo.js +800 -0
- package/src/image-editor/base/enum.d.ts +189 -0
- package/src/image-editor/base/enum.js +198 -0
- package/src/image-editor/{image-editor-model.d.ts → base/image-editor-model.d.ts} +131 -43
- package/src/image-editor/{image-editor.d.ts → base/image-editor.d.ts} +425 -1108
- package/src/image-editor/base/image-editor.js +2458 -0
- package/src/image-editor/base/index.d.ts +4 -0
- package/src/image-editor/base/index.js +2 -0
- package/src/image-editor/base/interface.d.ts +1120 -0
- package/src/image-editor/base/interface.js +1 -0
- package/src/image-editor/index.d.ts +3 -5
- package/src/image-editor/index.js +3 -4
- package/src/image-editor/renderer/index.d.ts +1 -0
- package/src/image-editor/renderer/index.js +1 -0
- package/src/image-editor/renderer/toolbar.d.ts +105 -0
- package/src/image-editor/renderer/toolbar.js +3019 -0
- package/styles/bootstrap-dark.css +69 -3
- package/styles/bootstrap.css +69 -3
- package/styles/bootstrap4.css +69 -3
- package/styles/bootstrap5-dark.css +69 -3
- package/styles/bootstrap5.css +69 -3
- package/styles/fabric-dark.css +69 -3
- package/styles/fabric.css +69 -3
- package/styles/fluent-dark.css +69 -3
- package/styles/fluent.css +69 -3
- package/styles/highcontrast-light.css +69 -3
- package/styles/highcontrast.css +69 -7
- package/styles/image-editor/_layout.scss +21 -7
- package/styles/image-editor/_material3-dark-definition.scss +1 -0
- package/styles/image-editor/_material3-definition.scss +11 -0
- package/styles/image-editor/_theme.scss +9 -2
- package/styles/image-editor/bootstrap-dark.css +69 -3
- package/styles/image-editor/bootstrap.css +69 -3
- package/styles/image-editor/bootstrap4.css +69 -3
- package/styles/image-editor/bootstrap5-dark.css +69 -3
- package/styles/image-editor/bootstrap5.css +69 -3
- package/styles/image-editor/fabric-dark.css +69 -3
- package/styles/image-editor/fabric.css +69 -3
- package/styles/image-editor/fluent-dark.css +69 -3
- package/styles/image-editor/fluent.css +69 -3
- package/styles/image-editor/highcontrast-light.css +69 -3
- package/styles/image-editor/highcontrast.css +69 -7
- package/styles/image-editor/icons/_bootstrap-dark.scss +132 -0
- package/styles/image-editor/icons/_bootstrap.scss +132 -0
- package/styles/image-editor/icons/_bootstrap4.scss +132 -0
- package/styles/image-editor/icons/_bootstrap5.scss +132 -0
- package/styles/image-editor/icons/_fabric-dark.scss +132 -0
- package/styles/image-editor/icons/_fabric.scss +132 -0
- package/styles/image-editor/icons/_fluent.scss +132 -0
- package/styles/image-editor/icons/_fusionnew.scss +132 -0
- package/styles/image-editor/icons/_highcontrast-light.scss +132 -0
- package/styles/image-editor/icons/_highcontrast.scss +132 -0
- package/styles/image-editor/icons/_material-dark.scss +132 -0
- package/styles/image-editor/icons/_material.scss +132 -0
- package/styles/image-editor/icons/_material3-dark.scss +1 -0
- package/styles/image-editor/icons/_material3.scss +133 -1
- package/styles/image-editor/icons/_tailwind.scss +132 -0
- package/styles/image-editor/material-dark.css +69 -3
- package/styles/image-editor/material.css +69 -3
- package/styles/image-editor/material3-dark.css +453 -0
- package/styles/image-editor/material3-dark.scss +14 -0
- package/styles/image-editor/material3.css +509 -0
- package/styles/image-editor/material3.scss +14 -0
- package/styles/image-editor/tailwind-dark.css +69 -3
- package/styles/image-editor/tailwind.css +69 -3
- package/styles/material-dark.css +69 -3
- package/styles/material.css +69 -3
- package/styles/material3-dark.css +453 -0
- package/styles/material3-dark.scss +3 -0
- package/styles/material3.css +509 -0
- package/styles/material3.scss +3 -0
- package/styles/tailwind-dark.css +69 -3
- package/styles/tailwind.css +69 -3
- package/src/image-editor/image-editor.js +0 -14784
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An enum representing the file types supported by the image editor.
|
|
3
|
+
*
|
|
4
|
+
* @enum {string}
|
|
5
|
+
*/
|
|
6
|
+
export declare enum FileType {
|
|
7
|
+
/** The PNG file type. */
|
|
8
|
+
Png = "Png",
|
|
9
|
+
/** The JPEG file type. */
|
|
10
|
+
Jpeg = "Jpeg",
|
|
11
|
+
/** The SVG file type. */
|
|
12
|
+
Svg = "Svg"
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* An enumeration representing the direction of an image editor operation.
|
|
16
|
+
*
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export declare enum Direction {
|
|
20
|
+
/** The horizontal direction. */
|
|
21
|
+
Horizontal = "Horizontal",
|
|
22
|
+
/** The vertical direction. */
|
|
23
|
+
Vertical = "Vertical"
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* An enumeration representing the type of shape to be added in the image editor.
|
|
27
|
+
*
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
export declare enum ShapeType {
|
|
31
|
+
/** A rectangle shape. */
|
|
32
|
+
Rectangle = "Rectangle",
|
|
33
|
+
/** An ellipse shape. */
|
|
34
|
+
Ellipse = "Ellipse",
|
|
35
|
+
/** A line shape. */
|
|
36
|
+
Line = "Line",
|
|
37
|
+
/** An arrow shape. */
|
|
38
|
+
Arrow = "Arrow",
|
|
39
|
+
/** A path shape. */
|
|
40
|
+
Path = "Path",
|
|
41
|
+
/** A text shape. */
|
|
42
|
+
Text = "Text",
|
|
43
|
+
/** A freehand drawing shape. */
|
|
44
|
+
FreehandDraw = "FreehandDraw"
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* An enumeration representing the different ways to trigger zooming in the image editor.
|
|
48
|
+
*
|
|
49
|
+
* @aspNumberEnum
|
|
50
|
+
*/
|
|
51
|
+
export declare enum ZoomTrigger {
|
|
52
|
+
/** Zooming triggered by mouse wheel. */
|
|
53
|
+
MouseWheel = 1,
|
|
54
|
+
/** Zooming triggered by pinch gesture. */
|
|
55
|
+
Pinch = 2,
|
|
56
|
+
/** Zooming triggered by command keys. */
|
|
57
|
+
Commands = 4,
|
|
58
|
+
/** Zooming triggered by toolbar button click. */
|
|
59
|
+
Toolbar = 8
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* * An enum representing the available themes in the image editor.
|
|
63
|
+
*/
|
|
64
|
+
export declare enum Theme {
|
|
65
|
+
/** The Bootstrap 5 theme. */
|
|
66
|
+
Bootstrap5 = "Bootstrap5",
|
|
67
|
+
/** The dark variant of the Bootstrap 5 theme. */
|
|
68
|
+
Bootstrap5Dark = "Bootstrap5Dark",
|
|
69
|
+
/** The Tailwind CSS theme. */
|
|
70
|
+
Tailwind = "Tailwind",
|
|
71
|
+
/** The dark variant of the Tailwind CSS theme. */
|
|
72
|
+
TailwindDark = "TailwindDark",
|
|
73
|
+
/** The Fluent UI theme. */
|
|
74
|
+
Fluent = "Fluent",
|
|
75
|
+
/** The dark variant of the Fluent UI theme. */
|
|
76
|
+
FluentDark = "FluentDark",
|
|
77
|
+
/** The Bootstrap 4 theme. */
|
|
78
|
+
Bootstrap4 = "Bootstrap4",
|
|
79
|
+
/** The Bootstrap theme. */
|
|
80
|
+
Bootstrap = "Bootstrap",
|
|
81
|
+
/** The dark variant of the Bootstrap theme. */
|
|
82
|
+
BootstrapDark = "BootstrapDark",
|
|
83
|
+
/** The Material Design theme. */
|
|
84
|
+
Material = "Material",
|
|
85
|
+
/** The dark variant of the Material Design theme. */
|
|
86
|
+
MaterialDark = "MaterialDark",
|
|
87
|
+
/** The Fabric theme. */
|
|
88
|
+
Fabric = "Fabric",
|
|
89
|
+
/** The dark variant of the Fabric theme. */
|
|
90
|
+
FabricDark = "FabricDark",
|
|
91
|
+
/** The high contrast theme. */
|
|
92
|
+
Highcontrast = "Highcontrast"
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* An enum representing the available toolbar commands in the image editor.
|
|
96
|
+
*/
|
|
97
|
+
export declare enum ImageEditorCommand {
|
|
98
|
+
Crop = "Crop",
|
|
99
|
+
Transform = "Transform",
|
|
100
|
+
Annotate = "Annotate",
|
|
101
|
+
ZoomIn = "ZoomIn",
|
|
102
|
+
ZoomOut = "ZoomOut",
|
|
103
|
+
Open = "Open",
|
|
104
|
+
Reset = "Reset",
|
|
105
|
+
Save = "Save",
|
|
106
|
+
Pan = "Pan",
|
|
107
|
+
Move = "Move",
|
|
108
|
+
Pen = "Pen",
|
|
109
|
+
Line = "Line",
|
|
110
|
+
Arrow = "Arrow",
|
|
111
|
+
Path = "Path",
|
|
112
|
+
Rectangle = "Rectangle",
|
|
113
|
+
Ellipse = "Ellipse",
|
|
114
|
+
Text = "Text",
|
|
115
|
+
CustomSelection = "CustomSelection",
|
|
116
|
+
CircleSelection = "CircleSelection",
|
|
117
|
+
SquareSelection = "SquareSelection",
|
|
118
|
+
RatioSelection = "RatioSelection",
|
|
119
|
+
RotateLeft = "RotateLeft",
|
|
120
|
+
RotateRight = "RotateRight",
|
|
121
|
+
FlipHorizontal = "FlipHorizontal",
|
|
122
|
+
FlipVertical = "FlipVertical"
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* An enumeration of available image filter options.
|
|
126
|
+
*
|
|
127
|
+
* @remarks
|
|
128
|
+
* These options can be used with the `applyImageFilter` method of the image editor control to apply filters to an image.
|
|
129
|
+
*/
|
|
130
|
+
export declare enum ImageFilterOption {
|
|
131
|
+
/** Default filter */
|
|
132
|
+
Default = "Default",
|
|
133
|
+
/** Chrome filter */
|
|
134
|
+
Chrome = "Chrome",
|
|
135
|
+
/** Cold filter */
|
|
136
|
+
Cold = "Cold",
|
|
137
|
+
/** Warm filter */
|
|
138
|
+
Warm = "Warm",
|
|
139
|
+
/** Grayscale filter */
|
|
140
|
+
Grayscale = "Grayscale",
|
|
141
|
+
/** Sepia filter */
|
|
142
|
+
Sepia = "Sepia",
|
|
143
|
+
/** Invert filter */
|
|
144
|
+
Invert = "Invert"
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* An enumeration of available image finetune options.
|
|
148
|
+
*
|
|
149
|
+
* @remarks
|
|
150
|
+
* These options can be used with the `finetuneImage` method of the image editor control to apply finetuning to an image.
|
|
151
|
+
*/
|
|
152
|
+
export declare enum ImageFinetuneOption {
|
|
153
|
+
/** Adjust the brightness of the image */
|
|
154
|
+
Brightness = "Brightness",
|
|
155
|
+
/** Adjust the contrast of the image */
|
|
156
|
+
Contrast = "Contrast",
|
|
157
|
+
/** Adjust the hue of the image */
|
|
158
|
+
Hue = "Hue",
|
|
159
|
+
/** Adjust the saturation of the image */
|
|
160
|
+
Saturation = "Saturation",
|
|
161
|
+
/** Adjust the exposure of the image */
|
|
162
|
+
Exposure = "Exposure",
|
|
163
|
+
/** Adjust the opacity of the image */
|
|
164
|
+
Opacity = "Opacity",
|
|
165
|
+
/** Adjust the blur of the image */
|
|
166
|
+
Blur = "Blur"
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Specifies the type of arrowhead should be drawn.
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
172
|
+
export declare enum ArrowheadType {
|
|
173
|
+
/** Indicates no arrowhead should be drawn. */
|
|
174
|
+
None = "None",
|
|
175
|
+
/** Indicates a normal triangle-shaped arrowhead should be drawn. */
|
|
176
|
+
Arrow = "Arrow",
|
|
177
|
+
/** Indicates a solid triangle-shaped arrowhead should be drawn. */
|
|
178
|
+
SolidArrow = "SolidArrow",
|
|
179
|
+
/** Indicates a circular-shaped arrowhead should be drawn. */
|
|
180
|
+
Circle = "Circle",
|
|
181
|
+
/** Indicates a solid circular-shaped arrowhead should be drawn. */
|
|
182
|
+
SolidCircle = "SolidCircle",
|
|
183
|
+
/** Indicates a square-shaped arrowhead should be drawn. */
|
|
184
|
+
Square = "Square",
|
|
185
|
+
/** Indicates a solid square-shaped arrowhead should be drawn. */
|
|
186
|
+
SolidSquare = "SolidSquare",
|
|
187
|
+
/** Indicates a bar shaped arrowhead should be drawn. */
|
|
188
|
+
Bar = "Bar"
|
|
189
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An enum representing the file types supported by the image editor.
|
|
3
|
+
*
|
|
4
|
+
* @enum {string}
|
|
5
|
+
*/
|
|
6
|
+
export var FileType;
|
|
7
|
+
(function (FileType) {
|
|
8
|
+
/** The PNG file type. */
|
|
9
|
+
FileType["Png"] = "Png";
|
|
10
|
+
/** The JPEG file type. */
|
|
11
|
+
FileType["Jpeg"] = "Jpeg";
|
|
12
|
+
/** The SVG file type. */
|
|
13
|
+
FileType["Svg"] = "Svg";
|
|
14
|
+
})(FileType || (FileType = {}));
|
|
15
|
+
/**
|
|
16
|
+
* An enumeration representing the direction of an image editor operation.
|
|
17
|
+
*
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
export var Direction;
|
|
21
|
+
(function (Direction) {
|
|
22
|
+
/** The horizontal direction. */
|
|
23
|
+
Direction["Horizontal"] = "Horizontal";
|
|
24
|
+
/** The vertical direction. */
|
|
25
|
+
Direction["Vertical"] = "Vertical";
|
|
26
|
+
})(Direction || (Direction = {}));
|
|
27
|
+
/**
|
|
28
|
+
* An enumeration representing the type of shape to be added in the image editor.
|
|
29
|
+
*
|
|
30
|
+
* @enum {string}
|
|
31
|
+
*/
|
|
32
|
+
export var ShapeType;
|
|
33
|
+
(function (ShapeType) {
|
|
34
|
+
/** A rectangle shape. */
|
|
35
|
+
ShapeType["Rectangle"] = "Rectangle";
|
|
36
|
+
/** An ellipse shape. */
|
|
37
|
+
ShapeType["Ellipse"] = "Ellipse";
|
|
38
|
+
/** A line shape. */
|
|
39
|
+
ShapeType["Line"] = "Line";
|
|
40
|
+
/** An arrow shape. */
|
|
41
|
+
ShapeType["Arrow"] = "Arrow";
|
|
42
|
+
/** A path shape. */
|
|
43
|
+
ShapeType["Path"] = "Path";
|
|
44
|
+
/** A text shape. */
|
|
45
|
+
ShapeType["Text"] = "Text";
|
|
46
|
+
/** A freehand drawing shape. */
|
|
47
|
+
ShapeType["FreehandDraw"] = "FreehandDraw";
|
|
48
|
+
})(ShapeType || (ShapeType = {}));
|
|
49
|
+
/**
|
|
50
|
+
* An enumeration representing the different ways to trigger zooming in the image editor.
|
|
51
|
+
*
|
|
52
|
+
* @aspNumberEnum
|
|
53
|
+
*/
|
|
54
|
+
export var ZoomTrigger;
|
|
55
|
+
(function (ZoomTrigger) {
|
|
56
|
+
/** Zooming triggered by mouse wheel. */
|
|
57
|
+
ZoomTrigger[ZoomTrigger["MouseWheel"] = 1] = "MouseWheel";
|
|
58
|
+
/** Zooming triggered by pinch gesture. */
|
|
59
|
+
ZoomTrigger[ZoomTrigger["Pinch"] = 2] = "Pinch";
|
|
60
|
+
/** Zooming triggered by command keys. */
|
|
61
|
+
ZoomTrigger[ZoomTrigger["Commands"] = 4] = "Commands";
|
|
62
|
+
/** Zooming triggered by toolbar button click. */
|
|
63
|
+
ZoomTrigger[ZoomTrigger["Toolbar"] = 8] = "Toolbar";
|
|
64
|
+
})(ZoomTrigger || (ZoomTrigger = {}));
|
|
65
|
+
/**
|
|
66
|
+
* * An enum representing the available themes in the image editor.
|
|
67
|
+
*/
|
|
68
|
+
export var Theme;
|
|
69
|
+
(function (Theme) {
|
|
70
|
+
/** The Bootstrap 5 theme. */
|
|
71
|
+
Theme["Bootstrap5"] = "Bootstrap5";
|
|
72
|
+
/** The dark variant of the Bootstrap 5 theme. */
|
|
73
|
+
Theme["Bootstrap5Dark"] = "Bootstrap5Dark";
|
|
74
|
+
/** The Tailwind CSS theme. */
|
|
75
|
+
Theme["Tailwind"] = "Tailwind";
|
|
76
|
+
/** The dark variant of the Tailwind CSS theme. */
|
|
77
|
+
Theme["TailwindDark"] = "TailwindDark";
|
|
78
|
+
/** The Fluent UI theme. */
|
|
79
|
+
Theme["Fluent"] = "Fluent";
|
|
80
|
+
/** The dark variant of the Fluent UI theme. */
|
|
81
|
+
Theme["FluentDark"] = "FluentDark";
|
|
82
|
+
/** The Bootstrap 4 theme. */
|
|
83
|
+
Theme["Bootstrap4"] = "Bootstrap4";
|
|
84
|
+
/** The Bootstrap theme. */
|
|
85
|
+
Theme["Bootstrap"] = "Bootstrap";
|
|
86
|
+
/** The dark variant of the Bootstrap theme. */
|
|
87
|
+
Theme["BootstrapDark"] = "BootstrapDark";
|
|
88
|
+
/** The Material Design theme. */
|
|
89
|
+
Theme["Material"] = "Material";
|
|
90
|
+
/** The dark variant of the Material Design theme. */
|
|
91
|
+
Theme["MaterialDark"] = "MaterialDark";
|
|
92
|
+
/** The Fabric theme. */
|
|
93
|
+
Theme["Fabric"] = "Fabric";
|
|
94
|
+
/** The dark variant of the Fabric theme. */
|
|
95
|
+
Theme["FabricDark"] = "FabricDark";
|
|
96
|
+
/** The high contrast theme. */
|
|
97
|
+
Theme["Highcontrast"] = "Highcontrast";
|
|
98
|
+
})(Theme || (Theme = {}));
|
|
99
|
+
/**
|
|
100
|
+
* An enum representing the available toolbar commands in the image editor.
|
|
101
|
+
*/
|
|
102
|
+
export var ImageEditorCommand;
|
|
103
|
+
(function (ImageEditorCommand) {
|
|
104
|
+
ImageEditorCommand["Crop"] = "Crop";
|
|
105
|
+
ImageEditorCommand["Transform"] = "Transform";
|
|
106
|
+
ImageEditorCommand["Annotate"] = "Annotate";
|
|
107
|
+
ImageEditorCommand["ZoomIn"] = "ZoomIn";
|
|
108
|
+
ImageEditorCommand["ZoomOut"] = "ZoomOut";
|
|
109
|
+
ImageEditorCommand["Open"] = "Open";
|
|
110
|
+
ImageEditorCommand["Reset"] = "Reset";
|
|
111
|
+
ImageEditorCommand["Save"] = "Save";
|
|
112
|
+
ImageEditorCommand["Pan"] = "Pan";
|
|
113
|
+
ImageEditorCommand["Move"] = "Move";
|
|
114
|
+
ImageEditorCommand["Pen"] = "Pen";
|
|
115
|
+
ImageEditorCommand["Line"] = "Line";
|
|
116
|
+
ImageEditorCommand["Arrow"] = "Arrow";
|
|
117
|
+
ImageEditorCommand["Path"] = "Path";
|
|
118
|
+
ImageEditorCommand["Rectangle"] = "Rectangle";
|
|
119
|
+
ImageEditorCommand["Ellipse"] = "Ellipse";
|
|
120
|
+
ImageEditorCommand["Text"] = "Text";
|
|
121
|
+
ImageEditorCommand["CustomSelection"] = "CustomSelection";
|
|
122
|
+
ImageEditorCommand["CircleSelection"] = "CircleSelection";
|
|
123
|
+
ImageEditorCommand["SquareSelection"] = "SquareSelection";
|
|
124
|
+
ImageEditorCommand["RatioSelection"] = "RatioSelection";
|
|
125
|
+
ImageEditorCommand["RotateLeft"] = "RotateLeft";
|
|
126
|
+
ImageEditorCommand["RotateRight"] = "RotateRight";
|
|
127
|
+
ImageEditorCommand["FlipHorizontal"] = "FlipHorizontal";
|
|
128
|
+
ImageEditorCommand["FlipVertical"] = "FlipVertical";
|
|
129
|
+
})(ImageEditorCommand || (ImageEditorCommand = {}));
|
|
130
|
+
/**
|
|
131
|
+
* An enumeration of available image filter options.
|
|
132
|
+
*
|
|
133
|
+
* @remarks
|
|
134
|
+
* These options can be used with the `applyImageFilter` method of the image editor control to apply filters to an image.
|
|
135
|
+
*/
|
|
136
|
+
export var ImageFilterOption;
|
|
137
|
+
(function (ImageFilterOption) {
|
|
138
|
+
/** Default filter */
|
|
139
|
+
ImageFilterOption["Default"] = "Default";
|
|
140
|
+
/** Chrome filter */
|
|
141
|
+
ImageFilterOption["Chrome"] = "Chrome";
|
|
142
|
+
/** Cold filter */
|
|
143
|
+
ImageFilterOption["Cold"] = "Cold";
|
|
144
|
+
/** Warm filter */
|
|
145
|
+
ImageFilterOption["Warm"] = "Warm";
|
|
146
|
+
/** Grayscale filter */
|
|
147
|
+
ImageFilterOption["Grayscale"] = "Grayscale";
|
|
148
|
+
/** Sepia filter */
|
|
149
|
+
ImageFilterOption["Sepia"] = "Sepia";
|
|
150
|
+
/** Invert filter */
|
|
151
|
+
ImageFilterOption["Invert"] = "Invert";
|
|
152
|
+
})(ImageFilterOption || (ImageFilterOption = {}));
|
|
153
|
+
/**
|
|
154
|
+
* An enumeration of available image finetune options.
|
|
155
|
+
*
|
|
156
|
+
* @remarks
|
|
157
|
+
* These options can be used with the `finetuneImage` method of the image editor control to apply finetuning to an image.
|
|
158
|
+
*/
|
|
159
|
+
export var ImageFinetuneOption;
|
|
160
|
+
(function (ImageFinetuneOption) {
|
|
161
|
+
/** Adjust the brightness of the image */
|
|
162
|
+
ImageFinetuneOption["Brightness"] = "Brightness";
|
|
163
|
+
/** Adjust the contrast of the image */
|
|
164
|
+
ImageFinetuneOption["Contrast"] = "Contrast";
|
|
165
|
+
/** Adjust the hue of the image */
|
|
166
|
+
ImageFinetuneOption["Hue"] = "Hue";
|
|
167
|
+
/** Adjust the saturation of the image */
|
|
168
|
+
ImageFinetuneOption["Saturation"] = "Saturation";
|
|
169
|
+
/** Adjust the exposure of the image */
|
|
170
|
+
ImageFinetuneOption["Exposure"] = "Exposure";
|
|
171
|
+
/** Adjust the opacity of the image */
|
|
172
|
+
ImageFinetuneOption["Opacity"] = "Opacity";
|
|
173
|
+
/** Adjust the blur of the image */
|
|
174
|
+
ImageFinetuneOption["Blur"] = "Blur";
|
|
175
|
+
})(ImageFinetuneOption || (ImageFinetuneOption = {}));
|
|
176
|
+
/**
|
|
177
|
+
* Specifies the type of arrowhead should be drawn.
|
|
178
|
+
*
|
|
179
|
+
*/
|
|
180
|
+
export var ArrowheadType;
|
|
181
|
+
(function (ArrowheadType) {
|
|
182
|
+
/** Indicates no arrowhead should be drawn. */
|
|
183
|
+
ArrowheadType["None"] = "None";
|
|
184
|
+
/** Indicates a normal triangle-shaped arrowhead should be drawn. */
|
|
185
|
+
ArrowheadType["Arrow"] = "Arrow";
|
|
186
|
+
/** Indicates a solid triangle-shaped arrowhead should be drawn. */
|
|
187
|
+
ArrowheadType["SolidArrow"] = "SolidArrow";
|
|
188
|
+
/** Indicates a circular-shaped arrowhead should be drawn. */
|
|
189
|
+
ArrowheadType["Circle"] = "Circle";
|
|
190
|
+
/** Indicates a solid circular-shaped arrowhead should be drawn. */
|
|
191
|
+
ArrowheadType["SolidCircle"] = "SolidCircle";
|
|
192
|
+
/** Indicates a square-shaped arrowhead should be drawn. */
|
|
193
|
+
ArrowheadType["Square"] = "Square";
|
|
194
|
+
/** Indicates a solid square-shaped arrowhead should be drawn. */
|
|
195
|
+
ArrowheadType["SolidSquare"] = "SolidSquare";
|
|
196
|
+
/** Indicates a bar shaped arrowhead should be drawn. */
|
|
197
|
+
ArrowheadType["Bar"] = "Bar";
|
|
198
|
+
})(ArrowheadType || (ArrowheadType = {}));
|