@bubblydoo/photoshop-mcp 0.0.2

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.
Files changed (88) hide show
  1. package/README.md +138 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +7049 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist-readmes/README.md +383 -0
  6. package/dist-runtime/runtime-code.cjs +17124 -0
  7. package/dist-runtime/runtime-code.d.cts +9 -0
  8. package/dist-schemas/@adobe-uxp-types/photoshop/src/index.d.ts +16 -0
  9. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/all-types.d.ts +65 -0
  10. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/Actions.d.ts +230 -0
  11. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/Channel.d.ts +120 -0
  12. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/ColorSampler.d.ts +105 -0
  13. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/Constants.d.ts +1648 -0
  14. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/CoreModules.d.ts +922 -0
  15. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/CountItem.d.ts +86 -0
  16. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/Document.d.ts +931 -0
  17. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/Guide.d.ts +105 -0
  18. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/HistoryState.d.ts +74 -0
  19. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/ImagingModule.d.ts +559 -0
  20. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/Layer.d.ts +1073 -0
  21. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/LayerComp.d.ts +219 -0
  22. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/Objects.d.ts +7 -0
  23. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/PathItem.d.ts +243 -0
  24. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/PathPoint.d.ts +78 -0
  25. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/Photoshop.d.ts +317 -0
  26. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/Selection.d.ts +557 -0
  27. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/SubPathItem.d.ts +69 -0
  28. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/TextItem.d.ts +213 -0
  29. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/Channels.d.ts +81 -0
  30. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/ColorSamplers.d.ts +97 -0
  31. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/CountItems.d.ts +130 -0
  32. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/Documents.d.ts +95 -0
  33. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/Guides.d.ts +76 -0
  34. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/HistoryStates.d.ts +56 -0
  35. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/LayerComps.d.ts +92 -0
  36. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/Layers.d.ts +68 -0
  37. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/PathItems.d.ts +65 -0
  38. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/PathPoints.d.ts +50 -0
  39. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/SubPathItems.d.ts +50 -0
  40. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/collections/TextFonts.d.ts +43 -0
  41. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/objects/Colors.d.ts +225 -0
  42. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/objects/ConversionOptions.d.ts +213 -0
  43. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/objects/ImagingBounds.d.ts +53 -0
  44. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/objects/PathPointInfo.d.ts +84 -0
  45. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/objects/SaveOptions.d.ts +376 -0
  46. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/objects/SolidColor.d.ts +118 -0
  47. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/objects/SubPathInfo.d.ts +47 -0
  48. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/objects/TextFont.d.ts +49 -0
  49. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/objects/Tool.d.ts +23 -0
  50. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/Preferences.d.ts +121 -0
  51. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesBase.d.ts +9 -0
  52. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesCursors.d.ts +37 -0
  53. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesFileHandling.d.ts +58 -0
  54. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesGeneral.d.ts +77 -0
  55. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesGuidesGridsAndSlices.d.ts +51 -0
  56. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesHistory.d.ts +69 -0
  57. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesInterface.d.ts +46 -0
  58. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesPerformance.d.ts +42 -0
  59. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesTools.d.ts +44 -0
  60. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesTransparencyAndGamut.d.ts +38 -0
  61. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesType.d.ts +44 -0
  62. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/preferences/PreferencesUnitsAndRulers.d.ts +44 -0
  63. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/text/CharacterStyle.d.ts +254 -0
  64. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/text/ParagraphStyle.d.ts +114 -0
  65. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/text/TextWarpStyle.d.ts +48 -0
  66. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/types/ApplyImageTypes.d.ts +107 -0
  67. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/types/CalculationsTypes.d.ts +119 -0
  68. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/types/DocumentTypes.d.ts +80 -0
  69. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/types/LayerCompTypes.d.ts +91 -0
  70. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/types/LayerTypes.d.ts +153 -0
  71. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/types/SharedTypes.d.ts +6 -0
  72. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/dom/types/TextTypes.d.ts +218 -0
  73. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/util/colorTypes.d.ts +61 -0
  74. package/dist-schemas/@adobe-uxp-types/photoshop/src/internal/util/unit.d.ts +45 -0
  75. package/dist-schemas/@adobe-uxp-types/uxp/src/index.d.ts +21 -0
  76. package/dist-schemas/@adobe-uxp-types/uxp/src/internal/all-types.d.ts +3 -0
  77. package/dist-schemas/@adobe-uxp-types/uxp/src/internal/dialog.d.ts +26 -0
  78. package/dist-schemas/@adobe-uxp-types/uxp/src/internal/entrypoints.d.ts +385 -0
  79. package/dist-schemas/@adobe-uxp-types/uxp/src/internal/host.d.ts +28 -0
  80. package/dist-schemas/@adobe-uxp-types/uxp/src/internal/os.d.ts +56 -0
  81. package/dist-schemas/@adobe-uxp-types/uxp/src/internal/other.d.ts +7 -0
  82. package/dist-schemas/@adobe-uxp-types/uxp/src/internal/shell.d.ts +54 -0
  83. package/dist-schemas/@adobe-uxp-types/uxp/src/internal/storage.d.ts +1216 -0
  84. package/dist-schemas/@adobe-uxp-types/uxp/src/internal/versions.d.ts +18 -0
  85. package/dist-schemas/@bubblydoo/uxp-toolkit/dist/commands-library/index.d.ts +109 -0
  86. package/dist-schemas/@bubblydoo/uxp-toolkit/dist/index.d.ts +153 -0
  87. package/dist-schemas/@bubblydoo/uxp-toolkit/dist/psLayerRef-BJKcxKbm.d.ts +66 -0
  88. package/package.json +51 -0
@@ -0,0 +1,1648 @@
1
+ /**
2
+ * To use any constant, import the `constants` object from the photoshop module first.
3
+ *
4
+ * ```javascript
5
+ * const {app, constants} = require("photoshop");
6
+ *
7
+ * await app.activeDocument.resizeImage(
8
+ * 800, 600, 100,
9
+ * constants.InterpolationMethod.AUTOMATIC
10
+ * );
11
+ * ```
12
+ */
13
+ /**
14
+ * The method to use for bitmap interpolation.
15
+ *
16
+ * Pass to
17
+ * - {@link PreferencesGeneral.imageInterpolation}
18
+ * - {@link Layer.scale}()
19
+ * - {@link Layer.skew}()
20
+ * - {@link Layer.rotate}()
21
+ * - {@link Selection.resizeBoundary}()
22
+ * - {@link Selection.rotateBoundary}()
23
+ *
24
+ * @minVersion 24.0
25
+ */
26
+ export enum InterpolationMethod {
27
+ /**
28
+ * Choose best bicubic option automatically
29
+ */
30
+ AUTOMATIC = 'bicubicAutomatic',
31
+ /**
32
+ * Bicubic interpolation
33
+ */
34
+ BICUBIC = 'bicubic',
35
+ /**
36
+ * Apply a sharpening mask
37
+ */
38
+ BICUBICSHARPER = 'bicubicSharper',
39
+ /**
40
+ * Apply a smoothing mask
41
+ */
42
+ BICUBICSMOOTHER = 'bicubicSmoother',
43
+ /**
44
+ * Bilinear interpolate
45
+ */
46
+ BILINEAR = 'bilinear',
47
+ /**
48
+ * Determine value based on nearest neighbor
49
+ */
50
+ NEARESTNEIGHBOR = 'nearestNeighbor',
51
+ }
52
+ /**
53
+ * The method to use for document interpolation
54
+ *
55
+ * Pass to {@link Document.resizeImage}()
56
+ *
57
+ * @minVersion 22.5
58
+ */
59
+ export enum ResampleMethod {
60
+ /**
61
+ * Choose best bicubic option automatically
62
+ */
63
+ AUTOMATIC = 'bicubicAutomatic',
64
+ /**
65
+ * Bicubic interpolation
66
+ */
67
+ BICUBIC = 'bicubic',
68
+ /**
69
+ * Apply a sharpening mask
70
+ */
71
+ BICUBICSHARPER = 'bicubicSharper',
72
+ /**
73
+ * Apply a smoothing mask
74
+ */
75
+ BICUBICSMOOTHER = 'bicubicSmoother',
76
+ /**
77
+ * Bilinear interpolate
78
+ */
79
+ BILINEAR = 'bilinear',
80
+ /**
81
+ * Determine value based on nearest neighbor
82
+ */
83
+ NEARESTNEIGHBOR = 'nearestNeighbor',
84
+ /**
85
+ * Attempt to preserve details by using machine learning
86
+ */
87
+ PRESERVEDETAILS = 'preserveDetailsUpscale',
88
+ /**
89
+ * Using deep learning, predict what the picture will look like larger.
90
+ */
91
+ DEEPUPSCALE = 'deepUpscale',
92
+ /**
93
+ * Changes image resolution value without affecting document dimension
94
+ *
95
+ * Currently unsupported**
96
+ */
97
+ NONE = 'none',
98
+ }
99
+ /**
100
+ * The type of save operation.
101
+ * @minVersion 22.5
102
+ */
103
+ export enum SaveMethod {
104
+ /**
105
+ * Saves the current document at the current format.
106
+ */
107
+ SAVE = 'save',
108
+ /**
109
+ * Changes the format of document, changing the file.
110
+ */
111
+ SAVEAS = 'saveAs',
112
+ /**
113
+ * Creates a copy of the document in the new format.
114
+ */
115
+ SAVEASCOPY = 'saveAsCopy',
116
+ }
117
+ /**
118
+ * The policy for handling new changes upon closing a document.
119
+ * @minVersion 22.5
120
+ */
121
+ export enum SaveOptions {
122
+ /**
123
+ * Will close document without saving, discarding changes
124
+ */
125
+ DONOTSAVECHANGES = 0,
126
+ /**
127
+ * Will ask the user if they'd like to save changes, blocking the script
128
+ */
129
+ PROMPTTOSAVECHANGES = 1,
130
+ /**
131
+ * Will save all existing changes before closing, prompting if document is not saved yet
132
+ */
133
+ SAVECHANGES = 2,
134
+ }
135
+ /**
136
+ * Number of bits per channel (also called pixel depth or color depth).
137
+ *
138
+ * The number selected indicates the exponent of 2.
139
+ * @minVersion 22.5
140
+ */
141
+ export enum BMPDepthType {
142
+ ONE = 'bitDepth1',
143
+ FOUR = 'bitDepth4',
144
+ EIGHT = 'bitDepth8',
145
+ SIXTEEN = 'bitDepth16',
146
+ TWENTYFOUR = 'bitDepth24',
147
+ THIRTYTWO = 'bitDepth32',
148
+ }
149
+ /**
150
+ * The number of bits per color channel.
151
+ * @minVersion 23.0
152
+ */
153
+ export enum BitsPerChannelType {
154
+ ONE = 'bitDepth1',
155
+ EIGHT = 'bitDepth8',
156
+ SIXTEEN = 'bitDepth16',
157
+ THIRTYTWO = 'bitDepth32',
158
+ }
159
+ /**
160
+ * The source to use for the depth map. Pass to
161
+ * {@link Layer.applyLensBlur}().
162
+ * @minVersion 23.5
163
+ */
164
+ export enum DepthMapSource {
165
+ IMAGEHIGHLIGHT = 'imageHighlight',
166
+ LAYERMASK = 'layerMask',
167
+ NONE = 'none',
168
+ TRANSPARENCYCHANNEL = 'transparency',
169
+ }
170
+ /**
171
+ * The target operating system in {@link BMPSaveOptions}.
172
+ * @minVersion 22.5
173
+ */
174
+ export enum OperatingSystem {
175
+ WINDOWS = 'windows',
176
+ OS2 = 'OS2',
177
+ }
178
+ /**
179
+ * The option with which to save a JPEG file.
180
+ * @minVersion 22.5
181
+ */
182
+ export enum JPEGFormatOptions {
183
+ /**
184
+ * Format recognized by most web browsers.
185
+ */
186
+ STANDARDBASELINE = 'standardbaseline',
187
+ /**
188
+ * Displays a series of increasing detailed scans as the image downloads.
189
+ */
190
+ PROGRESSIVE = 'progressive',
191
+ /**
192
+ * Optimized color and a slightly reduced file size.
193
+ */
194
+ OPTIMIZEDBASELINE = 'optimizedbaseline',
195
+ }
196
+ /**
197
+ * The color to use to fill anti-aliased edges
198
+ * adjacent to transparent areas of the image.
199
+ * When transparency is turned off for an image,
200
+ * the matte color is applied to transparent areas.
201
+ *
202
+ * @extendscript MatteType
203
+ * @minVersion 22.5
204
+ */
205
+ export enum MatteColor {
206
+ BACKGROUND = 'backgroundColor',
207
+ BLACK = 'black',
208
+ FOREGROUND = 'foregroundColor',
209
+ NETSCAPE = 'netscapeGray',
210
+ SEMIGRAY = 'gray50',
211
+ WHITE = 'white',
212
+ }
213
+ /**
214
+ * The type of dithering
215
+ * @minVersion 22.5
216
+ */
217
+ export enum Dither {
218
+ DIFFUSION = 'diffusion',
219
+ PATTERN = 'pattern',
220
+ NOISE = 'blue',
221
+ NONE = 'none',
222
+ }
223
+ /**
224
+ * The type of colors to be included the color
225
+ * table regardless of their usage
226
+ * @minVersion 22.5
227
+ */
228
+ export enum ForcedColors {
229
+ /**
230
+ * None
231
+ */
232
+ NONE = 'none',
233
+ /**
234
+ * Pure black and pure white
235
+ */
236
+ BLACKANDWHITE = 'blackAndWhite',
237
+ /**
238
+ * Red, green, blue, cyan, magenta, yellow, black, and white.
239
+ */
240
+ PRIMARIES = 'primaries',
241
+ /**
242
+ * The 216 web-safe colors
243
+ */
244
+ WEB = 'web',
245
+ }
246
+ /**
247
+ * The palette type to use
248
+ * @minVersion 22.5
249
+ */
250
+ export enum Palette {
251
+ EXACT = 'exact',
252
+ MACOSPALETTE = 'macintoshSystem',
253
+ WINDOWSPALETTE = 'windowsSystem',
254
+ WEBPALETTE = 'web',
255
+ UNIFORM = 'uniform',
256
+ LOCALPERCEPTUAL = 'perceptual',
257
+ LOCALSELECTIVE = 'selective',
258
+ LOCALADAPTIVE = 'adaptive',
259
+ MASTERPERCEPTUAL = 'masterPerceptual',
260
+ MASTERSELECTIVE = 'masterSelective',
261
+ MASTERADAPTIVE = 'masterAdaptive',
262
+ PREVIOUSPALETTE = 'previous',
263
+ }
264
+ /**
265
+ * Compression method for saving a PNG file
266
+ * @minVersion 22.5
267
+ */
268
+ export enum PNGMethod {
269
+ QUICK = 'quick',
270
+ MODERATE = 'moderate',
271
+ THOROUGH = 'thorough',
272
+ }
273
+ /**
274
+ * The point around which to transform an object.
275
+ *
276
+ * This is the point that does not move when an object is rotated or resized
277
+ * @minVersion 22.5
278
+ */
279
+ export enum AnchorPosition {
280
+ BOTTOMCENTER = 'bottom-center',
281
+ BOTTOMLEFT = 'bottom-left',
282
+ BOTTOMRIGHT = 'bottom-right',
283
+ MIDDLECENTER = 'middle-center',
284
+ MIDDLELEFT = 'middle-left',
285
+ MIDDLERIGHT = 'middle-right',
286
+ TOPCENTER = 'top-center',
287
+ TOPLEFT = 'top-left',
288
+ TOPRIGHT = 'top-right',
289
+ }
290
+ /**
291
+ * Type of pixels to trim around an image, passed to {@link Document.trim}.
292
+ * @minVersion 23.0
293
+ */
294
+ export enum TrimType {
295
+ /**
296
+ * Bottom right pixel color.
297
+ */
298
+ BOTTOMRIGHT = 'bottom-right',
299
+ /**
300
+ * Top left pixel color.
301
+ */
302
+ TOPLEFT = 'top-left',
303
+ /**
304
+ * Transparent pixels.
305
+ */
306
+ TRANSPARENT = 'transparent',
307
+ }
308
+ /**
309
+ * Options for layer list label colors
310
+ * @minVersion 22.5
311
+ */
312
+ export enum LabelColors {
313
+ RED = 'red',
314
+ ORANGE = 'orange',
315
+ YELLOW = 'yellowColor',
316
+ GREEN = 'grain',
317
+ BLUE = 'blue',
318
+ VIOLET = 'violet',
319
+ GRAY = 'gray',
320
+ NONE = 'none',
321
+ }
322
+ /**
323
+ * Blending mode
324
+ * @minVersion 22.5
325
+ */
326
+ export enum BlendMode {
327
+ NORMAL = 'normal',
328
+ DISSOLVE = 'dissolve',
329
+ DARKEN = 'darken',
330
+ MULTIPLY = 'multiply',
331
+ COLORBURN = 'colorBurn',
332
+ LINEARBURN = 'linearBurn',
333
+ DARKERCOLOR = 'darkerColor',
334
+ LIGHTEN = 'lighten',
335
+ SCREEN = 'screen',
336
+ COLORDODGE = 'colorDodge',
337
+ LINEARDODGE = 'linearDodge',
338
+ LIGHTERCOLOR = 'lighterColor',
339
+ OVERLAY = 'overlay',
340
+ SOFTLIGHT = 'softLight',
341
+ HARDLIGHT = 'hardLight',
342
+ VIVIDLIGHT = 'vividLight',
343
+ LINEARLIGHT = 'linearLight',
344
+ PINLIGHT = 'pinLight',
345
+ HARDMIX = 'hardMix',
346
+ DIFFERENCE = 'difference',
347
+ EXCLUSION = 'exclusion',
348
+ SUBTRACT = 'blendSubtraction',
349
+ DIVIDE = 'blendDivide',
350
+ HUE = 'hue',
351
+ SATURATION = 'saturation',
352
+ COLOR = 'color',
353
+ LUMINOSITY = 'luminosity',
354
+ PASSTHROUGH = 'passThrough',
355
+ }
356
+ /**
357
+ * The kind of blending used in a fill or stroke operation.
358
+ * Pass to {@link PathItem.fillPath}()
359
+ * @minVersion 23.3
360
+ */
361
+ export enum ColorBlendMode {
362
+ BEHIND = 'behind',
363
+ CLEAR = 'clearEnum',
364
+ COLOR = 'color',
365
+ COLORBURN = 'colorBurn',
366
+ COLORDODGE = 'colorDodge',
367
+ DARKEN = 'darken',
368
+ DARKERCOLOR = 'darkerColor',
369
+ DIFFERENCE = 'difference',
370
+ DISSOLVE = 'dissolve',
371
+ EXCLUSION = 'exclusion',
372
+ HARDLIGHT = 'hardLight',
373
+ HARDMIXBLEND = 'hardMix',
374
+ HUE = 'hue',
375
+ LIGHTEN = 'lighten',
376
+ LIGHTERCOLOR = 'lighterColor',
377
+ LINEARBURN = 'linearBurn',
378
+ LINEARDODGE = 'linearDodge',
379
+ LINEARLIGHT = 'linearLight',
380
+ LUMINOSITY = 'luminosity',
381
+ MULTIPLY = 'multiply',
382
+ NORMAL = 'normal',
383
+ OVERLAY = 'overlay',
384
+ PINLIGHT = 'pinLight',
385
+ SATURATION = 'saturation',
386
+ SCREEN = 'screen',
387
+ SOFTLIGHT = 'softLight',
388
+ VIVIDLIGHT = 'vividLight',
389
+ }
390
+ /**
391
+ * The kind of blending used in a {@link Document.calculations} operation.
392
+ * @minVersion 24.5
393
+ */
394
+ export enum CalculationsBlendMode {
395
+ NORMAL = 'normal',
396
+ DARKEN = 'darken',
397
+ MULTIPLY = 'multiply',
398
+ COLORBURN = 'colorBurn',
399
+ LINEARBURN = 'linearBurn',
400
+ DARKERCOLOR = 'darkerColor',
401
+ LIGHTEN = 'lighten',
402
+ SCREEN = 'screen',
403
+ COLORDODGE = 'colorDodge',
404
+ LINEARDODGE = 'linearDodge',
405
+ LIGHTERCOLOR = 'lighterColor',
406
+ OVERLAY = 'overlay',
407
+ SOFTLIGHT = 'softLight',
408
+ HARDLIGHT = 'hardLight',
409
+ VIVIDLIGHT = 'vividLight',
410
+ LINEARLIGHT = 'linearLight',
411
+ PINLIGHT = 'pinLight',
412
+ HARDMIX = 'hardMix',
413
+ ADD = 'add',
414
+ SUBTRACT = 'subtract',
415
+ DIFFERENCE = 'difference',
416
+ EXCLUSION = 'exclusion',
417
+ DIVIDE = 'blendDivide',
418
+ }
419
+ /**
420
+ * The kind of blending used in a {@link Layer.applyImage} operation.
421
+ * @minVersion 24.5
422
+ */
423
+ export enum ApplyImageBlendMode {
424
+ NORMAL = 'normal',
425
+ DARKEN = 'darken',
426
+ MULTIPLY = 'multiply',
427
+ COLORBURN = 'colorBurn',
428
+ LINEARBURN = 'linearBurn',
429
+ DARKERCOLOR = 'darkerColor',
430
+ LIGHTEN = 'lighten',
431
+ SCREEN = 'screen',
432
+ COLORDODGE = 'colorDodge',
433
+ LINEARDODGE = 'linearDodge',
434
+ LIGHTERCOLOR = 'lighterColor',
435
+ OVERLAY = 'overlay',
436
+ SOFTLIGHT = 'softLight',
437
+ HARDLIGHT = 'hardLight',
438
+ VIVIDLIGHT = 'vividLight',
439
+ LINEARLIGHT = 'linearLight',
440
+ PINLIGHT = 'pinLight',
441
+ HARDMIX = 'hardMix',
442
+ ADD = 'add',
443
+ SUBTRACT = 'subtract',
444
+ DIFFERENCE = 'difference',
445
+ EXCLUSION = 'exclusion',
446
+ DIVIDE = 'blendDivide',
447
+ }
448
+ /**
449
+ * Color mode of an open document. See also {@link Document.mode} and {@link Document.changeMode}
450
+ * @minVersion 22.5
451
+ */
452
+ export enum DocumentMode {
453
+ BITMAP = 'bitmapMode',
454
+ CMYK = 'CMYKColorMode',
455
+ DUOTONE = 'duotoneMode',
456
+ GRAYSCALE = 'grayscaleMode',
457
+ INDEXEDCOLOR = 'indexedColorMode',
458
+ LAB = 'labColorMode',
459
+ MULTICHANNEL = 'multichannelMode',
460
+ RGB = 'RGBColorMode',
461
+ }
462
+ /**
463
+ * Color Modes available for new document
464
+ * @minVersion 22.5
465
+ */
466
+ export enum NewDocumentMode {
467
+ BITMAP = 'bitmapMode',
468
+ GRAYSCALE = 'grayscaleMode',
469
+ RGB = 'RGBColorMode',
470
+ CMYK = 'CMYKColorMode',
471
+ LAB = 'labColorMode',
472
+ }
473
+ /**
474
+ * Valid Units for convertUnits method, used in {@link Photoshop.convertUnits}
475
+ * @minVersion 23.4
476
+ */
477
+ export enum Units {
478
+ CM = 'cm',
479
+ INCHES = 'in',
480
+ MM = 'mm',
481
+ PICAS = 'pc',
482
+ PIXELS = 'px',
483
+ POINTS = 'pt',
484
+ }
485
+ /**
486
+ * The new color profile or mode for a document, specified in {@link Document.changeMode}
487
+ *
488
+ * NOTE: Color images must be changed to GRAYSCALE mode before you can change them to BITMAP mode.
489
+ * @minVersion 22.5
490
+ */
491
+ export enum ChangeMode {
492
+ BITMAP = 'bitmapMode',
493
+ CMYK = 'CMYKColorMode',
494
+ GRAYSCALE = 'grayscaleMode',
495
+ INDEXEDCOLOR = 'indexedColorMode',
496
+ LAB = 'labColorMode',
497
+ MULTICHANNEL = 'multichannelMode',
498
+ RGB = 'RGBColorMode',
499
+ }
500
+ /**
501
+ * Fill methods available for the new document background
502
+ * @minVersion 22.5
503
+ */
504
+ export enum DocumentFill {
505
+ WHITE = 'white',
506
+ BLACK = 'black',
507
+ BACKGROUNDCOLOR = 'backgroundColor',
508
+ TRANSPARENT = 'transparent',
509
+ COLOR = 'color',
510
+ }
511
+ /**
512
+ * Kinds of different layers in a document
513
+ * @minVersion 22.5
514
+ */
515
+ export enum LayerKind {
516
+ BLACKANDWHITE = 'blackAndWhite',
517
+ BRIGHTNESSCONTRAST = 'brightnessContrast',
518
+ CHANNELMIXER = 'channelMixer',
519
+ COLORBALANCE = 'colorBalance',
520
+ CURVES = 'curves',
521
+ EXPOSURE = 'exposure',
522
+ GRADIENTFILL = 'gradientFill',
523
+ GRADIENTMAP = 'gradientMap',
524
+ HUESATURATION = 'hueSaturation',
525
+ INVERSION = 'inversion',
526
+ LEVELS = 'levels',
527
+ NORMAL = 'pixel',
528
+ PATTERNFILL = 'pattern',
529
+ PHOTOFILTER = 'photoFilter',
530
+ POSTERIZE = 'posterize',
531
+ SELECTIVECOLOR = 'selectiveColor',
532
+ SMARTOBJECT = 'smartObject',
533
+ SOLIDFILL = 'solidColor',
534
+ TEXT = 'text',
535
+ THRESHOLD = 'threshold',
536
+ LAYER3D = 'threeD',
537
+ VIBRANCE = 'vibrance',
538
+ VIDEO = 'video',
539
+ GROUP = 'group',
540
+ COLORLOOKUP = 'colorLookup',
541
+ }
542
+ /**
543
+ * Placement modes for Layer.move method
544
+ * @minVersion 22.5
545
+ */
546
+ export enum ElementPlacement {
547
+ /**
548
+ * Place above a layer, above group if group layer
549
+ */
550
+ PLACEBEFORE = 'placeBefore',
551
+ /**
552
+ * Place at the top
553
+ */
554
+ PLACEATBEGINNING = 'placeAtBeginning',
555
+ /**
556
+ * Place at the bottom, above background if background layer exists
557
+ */
558
+ PLACEATEND = 'placeAtEnd',
559
+ /**
560
+ * Place below a layer, below group if group layer
561
+ */
562
+ PLACEAFTER = 'placeAfter',
563
+ /**
564
+ * Place inside a group layer, throws error if not group layer
565
+ */
566
+ PLACEINSIDE = 'placeInside',
567
+ }
568
+ /**
569
+ * Type of color profile used to manage a document, used in {@link Document.colorProfileType}
570
+ * @minVersion 22.5
571
+ */
572
+ export enum ColorProfileType {
573
+ /**
574
+ * Set for all custom profiles
575
+ */
576
+ CUSTOM = 'customEnum',
577
+ /**
578
+ * Set when document is not color managed
579
+ */
580
+ NONE = 'none',
581
+ /**
582
+ * Set when document uses the working color profile
583
+ */
584
+ WORKING = 'workingSpaceCode',
585
+ }
586
+ /**
587
+ * Specifies the quality of an image you are converting to bitmap mode. Used in {@link BitmapConversionOptions}
588
+ * @minVersion 22.5
589
+ */
590
+ export enum BitmapConversionType {
591
+ CUSTOMPATTERN = 'customPattern',
592
+ DIFFUSIONDITHER = 'diffusionDither',
593
+ HALFTHRESHOLD = 'halfThreshold',
594
+ HALFTONESCREEN = 'halfToneScreen',
595
+ PATTERNDITHER = 'patternDither',
596
+ }
597
+ /**
598
+ * Specifies the shape of the dots (ink deposits) in the halftone screen. Used in {@link BitmapConversionOptions}
599
+ * @minVersion 22.5
600
+ */
601
+ export enum BitmapHalfToneType {
602
+ CROSS = 'cross',
603
+ DIAMOND = 'diamond',
604
+ ELLIPSE = 'ellipse',
605
+ LINE = 'lineClass',
606
+ ROUND = 'round',
607
+ SQUARE = 'square',
608
+ }
609
+ /**
610
+ * The rendering intent to use when converting from one color space to another with
611
+ * {@link Document.convertProfile}
612
+ * @minVersion 22.5
613
+ */
614
+ export enum Intent {
615
+ ABSOLUTECOLORIMETRIC = 'absColorimetric',
616
+ PERCEPTUAL = 'image',
617
+ RELATIVECOLORIMETRIC = 'colorimetric',
618
+ SATURATION = 'graphics',
619
+ }
620
+ /**
621
+ * Used in multiple places to represent orientation.
622
+ *
623
+ * Orientation of a guide in {@link Guide.direction}
624
+ * @minVersion 22.5
625
+ */
626
+ export enum Direction {
627
+ HORIZONTAL = 'horizontal',
628
+ VERTICAL = 'vertical',
629
+ }
630
+ /**
631
+ * Used in multiple places to represent orientation
632
+ * e.g., {@link TextItem.orientation}
633
+ * @minVersion 24.1
634
+ */
635
+ export enum Orientation {
636
+ HORIZONTAL = 'horizontal',
637
+ VERTICAL = 'vertical',
638
+ }
639
+ /**
640
+ * The color model representing the current color space
641
+ * of a {@link SolidColor} object.
642
+ * @minVersion 22.5
643
+ */
644
+ export enum ColorModel {
645
+ GRAYSCALE = 'grayScale',
646
+ HSB = 'HSBColorEnum',
647
+ CMYK = 'CMYKColorEnum',
648
+ LAB = 'labColor',
649
+ RGB = 'RGBColor',
650
+ NONE = 'noColor',
651
+ }
652
+ /**
653
+ * The type of layer to get rasterized.
654
+ * @minVersion 22.5
655
+ */
656
+ export enum RasterizeType {
657
+ ENTIRELAYER = 'entire',
658
+ FILLCONTENT = 'content',
659
+ LAYERCLIPPINGPATH = 'clippingPath',
660
+ LINKEDLAYERS = 'linked',
661
+ SHAPE = 'shape',
662
+ TEXTCONTENTS = 'type',
663
+ VECTORMASK = 'vectorMask',
664
+ PLACED = 'placed',
665
+ VIDEO = 'video',
666
+ LAYERSTYLE = 'layerStyle',
667
+ }
668
+ /**
669
+ * Controls the type of dialogs Photoshop displays
670
+ * during API calls
671
+ * @minVersion 22.5
672
+ */
673
+ export enum DialogModes {
674
+ /**
675
+ * All dialogs will be shown
676
+ */
677
+ ALL = 'display',
678
+ /**
679
+ * Dialogs will be shown only if Photoshop raises an error
680
+ */
681
+ ERROR = 'silent',
682
+ /**
683
+ * All dialogs will be hidden, and bad calls will silently fail
684
+ */
685
+ NONE = 'dontDisplay',
686
+ }
687
+ /**
688
+ * Describes how the displacement map fits the
689
+ * image if the image is not the same size as
690
+ * the map. Pass to {@link Layer.applyDisplace}.
691
+ * @minVersion 23.5
692
+ */
693
+ export enum DisplacementMapType {
694
+ STRETCHTOFIT = 'stretchToFit',
695
+ TILE = 'tile',
696
+ }
697
+ /**
698
+ * The type of a color channel.
699
+ * @minVersion 22.5
700
+ */
701
+ export enum ChannelType {
702
+ /**
703
+ * Specific to document color mode
704
+ */
705
+ COMPONENT = 'component',
706
+ /**
707
+ * Alpha channel where color indicates masked area
708
+ */
709
+ MASKEDAREA = 'maskedAreas',
710
+ /**
711
+ * Alpha channel where color indicates selected area
712
+ */
713
+ SELECTEDAREA = 'selectedAreas',
714
+ /**
715
+ * Alpha channel to store a spot color
716
+ */
717
+ SPOTCOLOR = 'spot',
718
+ }
719
+ /**
720
+ * Distribution model to use when applying an Add Noise filter. Pass to {@link Layer.applyAddNoise}.
721
+ * @minVersion 23.5
722
+ */
723
+ export enum NoiseDistribution {
724
+ GAUSSIAN = 'gaussianDistribution',
725
+ UNIFORM = 'uniformDistribution',
726
+ }
727
+ /**
728
+ * The type of field to eliminate. Pass to {@link Layer.applyDeInterlace}.
729
+ * @minVersion 23.5
730
+ */
731
+ export enum EliminateFields {
732
+ EVENFIELDS = 'eliminateEvenFields',
733
+ ODDFIELDS = 'eliminateOddFields',
734
+ }
735
+ /**
736
+ * Geometric options for shapes, such as the iris shape in the
737
+ * Lens Blur filter. Pass to {@link Layer.applyLensBlur}().
738
+ * @minVersion 23.5
739
+ */
740
+ export enum Geometry {
741
+ HEPTAGON = 'heptagon',
742
+ HEXAGON = 'hexagon',
743
+ OCTAGON = 'octagon',
744
+ PENTAGON = 'pentagon',
745
+ SQUARE = 'square',
746
+ TRIANGLE = 'triangle',
747
+ }
748
+ /**
749
+ * The method used for creating fields. Pass to {@link Layer.applyDeInterlace}.
750
+ * @minVersion 23.5
751
+ */
752
+ export enum CreateFields {
753
+ DUPLICATION = 'createDroplet',
754
+ INTERPOLATION = 'createInterpolation',
755
+ }
756
+ /**
757
+ * The type of a {@link PathItem}
758
+ * @minVersion 23.5
759
+ */
760
+ export enum PathKind {
761
+ DUPLICATE = 'duplicate',
762
+ INTERPOLATE = 'interpolate',
763
+ CLIPPINGPATH = 'clippingPathEPS',
764
+ NORMALPATH = 'normalPath',
765
+ TEXTMASK = 'textShape',
766
+ VECTORMASK = 'vectorMask',
767
+ WORKPATH = 'workPathIndex',
768
+ }
769
+ /**
770
+ * The selection behavior when a selection already exists.
771
+ * Used in {@link PathItem.makeSelection}(), {@link Selection.saveTo}() and {@link Selection.load}()
772
+ * @minVersion 23.3
773
+ */
774
+ export enum SelectionType {
775
+ /**
776
+ * Remove the selection from the already selected area
777
+ */
778
+ DIMINISH = 'subtractFrom',
779
+ /**
780
+ * Add the selection to an already selected area
781
+ */
782
+ EXTEND = 'addTo',
783
+ /**
784
+ * Make the selection only the area where the new selection intersectes the already selected area
785
+ */
786
+ INTERSECT = 'intersectWith',
787
+ /**
788
+ * Replace the selected area
789
+ */
790
+ REPLACE = 'set',
791
+ }
792
+ /**
793
+ * The tool to use with {@link PathItem.strokePath}()
794
+ * @minVersion 23.3
795
+ */
796
+ export enum ToolType {
797
+ ARTHISTORYBRUSH = 'artBrushTool',
798
+ BACKGROUNDERASER = 'backgroundEraserTool',
799
+ BLUR = 'blurTool',
800
+ BRUSH = 'paintbrushTool',
801
+ BURN = 'burnInTool',
802
+ CLONESTAMP = 'cloneStampTool',
803
+ COLORREPLACEMENTTOOL = 'colorReplacementBrushTool',
804
+ DODGE = 'dodgeTool',
805
+ ERASER = 'eraserTool',
806
+ HEALINGBRUSH = 'magicStampTool',
807
+ HISTORYBRUSH = 'historyBrushTool',
808
+ PATTERNSTAMP = 'patternStampTool',
809
+ PENCIL = 'pencilTool',
810
+ SHARPEN = 'sharpenTool',
811
+ SMUDGE = 'smudgeTool',
812
+ SPONGE = 'saturationTool',
813
+ }
814
+ /**
815
+ * The role a {@link PathPoint} plays in a {@link PathItem}
816
+ * @minVersion 23.3
817
+ */
818
+ export enum PointKind {
819
+ CORNERPOINT = 'cornerPoint',
820
+ SMOOTHPOINT = 'smoothPoint',
821
+ }
822
+ /**
823
+ * How to combine the shapes if the destination path already has a selection.
824
+ *
825
+ * Set for {@link SubPathInfo.operation}, stored in the resulting {@link SubPathItem}
826
+ * @minVersion 23.3
827
+ */
828
+ export enum ShapeOperation {
829
+ SHAPEADD = 'add',
830
+ SHAPEINTERSECT = 'intersect',
831
+ SHAPESUBTRACT = 'subtract',
832
+ SHAPEXOR = 'xor',
833
+ }
834
+ /**
835
+ * The type of texture or glass surface image to load for a texturizer
836
+ * or glass filter. Pass to {@link Layer.applyGlassEffect}().
837
+ * @minVersion 23.5
838
+ */
839
+ export enum TextureType {
840
+ BLOCKS = 'texTypeBlocks',
841
+ CANVAS = 'texTypeCanvas',
842
+ FROSTED = 'texTypeFrosted',
843
+ TINYLENS = 'texTypeTinyLens',
844
+ }
845
+ /**
846
+ * How to treat undistorted areas or areas left blank in an image
847
+ * to which a filter in the Distort category has been applied. Pass
848
+ * to {@link Layer.applyDisplace}(), {@link Layer.applyShear}(), {@link Layer.applyWave}()
849
+ * @minVersion 23.5
850
+ */
851
+ export enum UndefinedAreas {
852
+ REPEATEDGEPIXELS = 'repeatEdgePixels',
853
+ WRAPAROUND = 'wrapAround',
854
+ }
855
+ /**
856
+ * The kind of polar conversion.
857
+ * Pass to {@link Layer.applyPolarCoordinates}().
858
+ * @minVersion 23.5
859
+ */
860
+ export enum PolarConversionType {
861
+ /**
862
+ * The distortion applied will take the input pixel grid as polar coordinates
863
+ * and convert them to rectangular coordinates.
864
+ */
865
+ POLARTORECTANGULAR = 'polarToRect',
866
+ /**
867
+ * The distortion applied will take the input pixel grid as rectangular coordinates
868
+ * and convert them to polar coordinates.
869
+ */
870
+ RECTANGULARTOPOLAR = 'rectToPolar',
871
+ }
872
+ /**
873
+ * Radial blur comes in two flavors: spin and zoom.
874
+ * Spin provides the effect of pinning the image at the designated center and rotating it.
875
+ * Zoom provides the effect of motion towards the designated center point.
876
+ * Pass to {@link Layer.applyRadialBlur}().
877
+ *
878
+ * @ignore
879
+ */
880
+ export enum RadialBlurMethod {
881
+ SPIN = 'spin',
882
+ ZOOM = 'zoom',
883
+ }
884
+ /**
885
+ * The radial blur quality.
886
+ * Pass to {@link Layer.applyRadialBlur}().
887
+ *
888
+ * @ignore
889
+ */
890
+ export enum RadialBlurQuality {
891
+ DRAFT = 'draft',
892
+ GOOD = 'good',
893
+ BEST = 'best',
894
+ }
895
+ /**
896
+ * The size of undulations.
897
+ * Pass to {@link Layer.applyRipple}().
898
+ * @minVersion 23.5
899
+ */
900
+ export enum RippleSize {
901
+ LARGE = 'large',
902
+ MEDIUM = 'mediumQuality',
903
+ SMALL = 'small',
904
+ }
905
+ /**
906
+ * The smart blur quality.
907
+ * Pass to {@link Layer.applySmartBlur}().
908
+ * @minVersion 23.5
909
+ */
910
+ export enum SmartBlurQuality {
911
+ HIGH = 'smartBlurQualityHigh',
912
+ LOW = 'smartBlurQualityLow',
913
+ MEDIUM = 'smartBlurQualityMedium',
914
+ }
915
+ /**
916
+ * The method to use for smart blurring.
917
+ * Pass to {@link Layer.applySmartBlur}().
918
+ * @minVersion 23.5
919
+ */
920
+ export enum SmartBlurMode {
921
+ EDGEONLY = 'smartBlurModeEdgeOnly',
922
+ NORMAL = 'smartBlurModeNormal',
923
+ OVERLAYEDGE = 'smartBlurModeOverlayEdge',
924
+ }
925
+ /**
926
+ * The curve (or stretch shape) to use for the distortion.
927
+ * Pass to {@link Layer.applySpherize}().
928
+ * @minVersion 23.5
929
+ */
930
+ export enum SpherizeMode {
931
+ HORIZONTAL = 'horizontalOnly',
932
+ NORMAL = 'normal',
933
+ VERTICAL = 'verticalOnly',
934
+ }
935
+ /**
936
+ * The type of wave.
937
+ * Pass to {@link Layer.applyWave}().
938
+ * @minVersion 23.5
939
+ */
940
+ export enum WaveType {
941
+ SINE = 'waveSine',
942
+ SQUARE = 'waveSquare',
943
+ TRIANGULAR = 'waveTriangle',
944
+ }
945
+ /**
946
+ * The method of zigzagging.
947
+ * Pass to {@link Layer.applyZigZag}().
948
+ * @minVersion 23.5
949
+ */
950
+ export enum ZigZagType {
951
+ AROUNDCENTER = 'aroundCenter',
952
+ OUTFROMCENTER = 'outFromCenter',
953
+ PONDRIPPLES = 'pondRipples',
954
+ }
955
+ /**
956
+ * The type of Lens to use. Pass to {@link Layer.applyLensFlare}().
957
+ * @minVersion 23.5
958
+ */
959
+ export enum LensType {
960
+ MOVIEPRIME = 'panaVision',
961
+ PRIME105 = 'nikon105',
962
+ PRIME35 = 'nikon',
963
+ ZOOMLENS = 'zoom',
964
+ }
965
+ /**
966
+ * Favor the promotion of either corners or curves.
967
+ * Pass to {@link Layer.applyMaximum}() and {@link Layer.applyMinimum}().
968
+ * @minVersion 23.5
969
+ */
970
+ export enum PreserveShape {
971
+ SQUARENESS = 'squareness',
972
+ ROUNDNESS = 'roundness',
973
+ }
974
+ /**
975
+ * Method to use to fill the empty space left by offsetting an image or selection.
976
+ * Pass to {@link Layer.applyOffset}()
977
+ * @minVersion 23.5
978
+ */
979
+ export enum OffsetUndefinedAreas {
980
+ SETTOBACKGROUND = 'background',
981
+ REPEATEDGEPIXELS = 'repeat',
982
+ WRAPAROUND = 'wrap',
983
+ }
984
+ /**
985
+ * Sample size for the EyeDropper tool and ColorSampler instances.
986
+ *
987
+ * @minVersion 24.0
988
+ */
989
+ export enum SampleSize {
990
+ POINTSAMPLE = 0,
991
+ SAMPLE3X3 = 1,
992
+ SAMPLE5X5 = 2,
993
+ SAMPLE11X11 = 5,
994
+ SAMPLE31X31 = 15,
995
+ SAMPLE51X51 = 25,
996
+ SAMPLE101X101 = 50,
997
+ }
998
+ /**
999
+ * The application's behavior regarding image previews.
1000
+ * Pass to {@link PreferencesFileHandling.imagePreviews}
1001
+ * @minVersion 24.0
1002
+ */
1003
+ export enum SavePreview {
1004
+ /**
1005
+ * Always save the item with the file.
1006
+ */
1007
+ ALWAYSSAVE = 'queryAlways',
1008
+ /**
1009
+ * Prompt the user whether to save the item with the file.
1010
+ */
1011
+ ASKWHENSAVING = 'queryAsk',
1012
+ /**
1013
+ * Never save the item with the file.
1014
+ */
1015
+ NEVERSAVE = 'queryNever',
1016
+ }
1017
+ /**
1018
+ * The kind of color picker dialog to use.
1019
+ * Pass to {@link PreferencesGeneral.colorPicker}
1020
+ * @minVersion 24.0
1021
+ */
1022
+ export enum ColorPicker {
1023
+ /**
1024
+ * The Adobe Color Picker.
1025
+ */
1026
+ ADOBE = 'photoshopPicker',
1027
+ /**
1028
+ * The built-in Apple or Windows color picker.
1029
+ */
1030
+ OSNATIVE = 'systemPicker',
1031
+ /**
1032
+ * The built-in Windows color picker.
1033
+ */
1034
+ PLUGIN = 'pluginPicker',
1035
+ }
1036
+ /**
1037
+ * The history log edit options.
1038
+ * Pass to {@link PreferencesHistory.editLogItems}
1039
+ * @minVersion 24.0
1040
+ */
1041
+ export enum EditLogItemsType {
1042
+ /**
1043
+ * Includes the text that appears in the History panel in addition to the Sessions information.
1044
+ */
1045
+ CONCISE = 'concise',
1046
+ /**
1047
+ * Includes the text that appears in the Actions panel in addition to the Concise information.
1048
+ * If you need a complete history of all changes made to files, choose Detailed.
1049
+ */
1050
+ DETAILED = 'detailed',
1051
+ /**
1052
+ * Keeps a record of each time you start or quit
1053
+ * Photoshop and each time you open and close files (each image’s filename is included).
1054
+ * Does not include any information about edits made to the file.
1055
+ */
1056
+ SESSIONONLY = 'session',
1057
+ }
1058
+ /**
1059
+ * The size of grid squares.
1060
+ * Pass to {@link PreferencesTransparencyAndGamut.gridSize}
1061
+ * @minVersion 24.0
1062
+ */
1063
+ export enum GridSize {
1064
+ /**
1065
+ * Large grid squares.
1066
+ */
1067
+ LARGE = 'large',
1068
+ /**
1069
+ * Medium grid squares.
1070
+ */
1071
+ MEDIUM = 'medium',
1072
+ /**
1073
+ * No grid is displayed.
1074
+ */
1075
+ NONE = 'none',
1076
+ /**
1077
+ * Small grid squares.
1078
+ */
1079
+ SMALL = 'small',
1080
+ }
1081
+ /**
1082
+ * The line style for nonprinting grids displayed over images.
1083
+ * Pass to {@link PreferencesGuidesGridsAndSlices.gridStyle}
1084
+ * @minVersion 24.0
1085
+ */
1086
+ export enum GridLineStyle {
1087
+ DASHED = 'dashedLines',
1088
+ DOTTED = 'dots',
1089
+ SOLID = 'lens',
1090
+ }
1091
+ /**
1092
+ * The line style for nonprinting guides displayed over images.
1093
+ * Pass to {@link PreferencesGuidesGridsAndSlices.guideStyle}
1094
+ * @minVersion 24.0
1095
+ */
1096
+ export enum GuideLineStyle {
1097
+ DASHED = 'dashedLines',
1098
+ SOLID = 'lens',
1099
+ }
1100
+ /**
1101
+ * The permission state for queries.
1102
+ * Pass to {@link PreferencesFileHandling.maximizeCompatibility}
1103
+ * @minVersion 24.0
1104
+ */
1105
+ export enum MaximizeCompatibility {
1106
+ /**
1107
+ * Always maximize compatibility.
1108
+ */
1109
+ ALWAYS = 'queryAlways',
1110
+ /**
1111
+ * Always ask about maximize compatibility.
1112
+ */
1113
+ ASK = 'queryAsk',
1114
+ /**
1115
+ * Never ask about maximize compatibility.
1116
+ */
1117
+ NEVER = 'queryNever',
1118
+ }
1119
+ /**
1120
+ * The style of the cursors for the following tools: Marquee, Lasso, Polygonal Lasso, Magic Wand, Crop, Slice,
1121
+ * Patch Eyedropper, Pen, Gradient, Line, Paint Bucket, Magnetic Lasso, Magnetic Pen, Freeform Pen,
1122
+ * Measure, and Color Sampler.
1123
+ * Pass to {@link PreferencesCursors.otherCursors}
1124
+ * @minVersion 24.0
1125
+ */
1126
+ export enum OtherCursors {
1127
+ /**
1128
+ * Use crosshair cursors for tools.
1129
+ */
1130
+ PRECISE = 'precise',
1131
+ /**
1132
+ * Use small iconic cursors for tools.
1133
+ */
1134
+ STANDARD = 'standard',
1135
+ }
1136
+ /**
1137
+ * The style of the cursors for the following tools: Eraser, Pencil, Paintbrush, Healing Brush,
1138
+ * Rubber Stamp, Pattern Stamp, Smudge, Blur, Sharpen, Dodge, Burn, Sponge.
1139
+ * Pass to {@link PreferencesCursors.paintingCursors}
1140
+ * @minVersion 24.0
1141
+ */
1142
+ export enum PaintingCursors {
1143
+ /**
1144
+ * Use the full size of the brush regardless of brush opacity
1145
+ */
1146
+ FULLSIZE = 'fullSize',
1147
+ /**
1148
+ * Displays cursors as brush shapes representing the size of the current brush
1149
+ * where boundaries have 50% brush opacity
1150
+ */
1151
+ BRUSHSIZE = 'brushSize',
1152
+ /**
1153
+ * Use crosshair cursors when painting.
1154
+ */
1155
+ PRECISE = 'precise',
1156
+ /**
1157
+ * Use small iconic cursors when painting.
1158
+ */
1159
+ STANDARD = 'standard',
1160
+ }
1161
+ /**
1162
+ * The point/pica size: either 72 or 72.27 points per inch.
1163
+ * Pass to {@link PreferencesUnitsAndRulers.pointSize}
1164
+ * @minVersion 24.0
1165
+ */
1166
+ export enum PointType {
1167
+ /**
1168
+ * 72 points per inch.
1169
+ */
1170
+ POSTSCRIPT = 'POSTSCRIPT',
1171
+ /**
1172
+ * 72.27 points per inch.
1173
+ */
1174
+ TRADITIONAL = 'TRADITIONAL',
1175
+ }
1176
+ /**
1177
+ * Options for logging the history items.
1178
+ * Pass to {@link PreferencesHistory.saveLogItems}
1179
+ * @minVersion 24.0
1180
+ */
1181
+ export enum SaveLogItemsType {
1182
+ /**
1183
+ * Save history log in a text file.
1184
+ */
1185
+ LOGFILE = 'textFile',
1186
+ /**
1187
+ * Save history log in file metadata and a text file.
1188
+ */
1189
+ LOGFILEANDMETADATA = 'both',
1190
+ /**
1191
+ * Save history log in file metadata.
1192
+ */
1193
+ METADATA = 'metadata',
1194
+ }
1195
+ /**
1196
+ * Font size in panels and dialogs.
1197
+ * Pass to {@link PreferencesInterface.textFontSize}
1198
+ * @minVersion 24.0
1199
+ */
1200
+ export enum FontSize {
1201
+ /**
1202
+ * Tiny size.
1203
+ */
1204
+ TINY = 'preferTinyPaletteFontType',
1205
+ /**
1206
+ * Large size.
1207
+ */
1208
+ LARGE = 'preferLargePaletteFontType',
1209
+ /**
1210
+ * Medium size.
1211
+ */
1212
+ MEDIUM = 'preferMediumPaletteFontType',
1213
+ /**
1214
+ * Small size.
1215
+ */
1216
+ SMALL = 'preferSmallPaletteFontType',
1217
+ }
1218
+ /**
1219
+ * The measurement unit for type.
1220
+ * Pass to {@link PreferencesUnitsAndRulers.typeUnits}
1221
+ * @minVersion 24.0
1222
+ */
1223
+ export enum TypeUnits {
1224
+ MILLIMETERS = 'rulerMm',
1225
+ PIXELS = 'rulerPixels',
1226
+ POINTS = 'rulerPoints',
1227
+ }
1228
+ /**
1229
+ * The measurement unit for ruler increments.
1230
+ * Pass to {@link PreferencesUnitsAndRulers.rulerUnits}
1231
+ * @minVersion 24.0
1232
+ */
1233
+ export enum RulerUnits {
1234
+ CENTIMETERS = 'rulerCm',
1235
+ INCHES = 'rulerInches',
1236
+ MILLIMETERS = 'rulerMm',
1237
+ PERCENT = 'rulerPercent',
1238
+ PICAS = 'rulerPicas',
1239
+ PIXELS = 'rulerPixels',
1240
+ POINTS = 'rulerPoints',
1241
+ }
1242
+ /**
1243
+ * Options for changing user interface of Character and Paragraph panels.
1244
+ * This option is not in Preferences dialog but instead it is located in: Main menu > Type > Language Options
1245
+ * Pass to {@link PreferencesType.showTextFeatures}
1246
+ * @minVersion 24.0
1247
+ */
1248
+ export enum TypeInterfaceFeatures {
1249
+ DEFAULT = 'defaultTextInterface',
1250
+ EASTASIAN = 'advancedAsianInterface',
1251
+ MIDDLEEASTERN = 'middleEasternInterface',
1252
+ }
1253
+ /**
1254
+ * The result of {@link Document.calculations} can go into a new document,
1255
+ * a new channel in the active document, or a new selection in the active document.
1256
+ * @minVersion 24.5
1257
+ */
1258
+ export enum CalculationsResult {
1259
+ NEWDOCUMENT = 'document',
1260
+ NEWCHANNEL = 'channel',
1261
+ SELECTION = 'selection',
1262
+ }
1263
+ /**
1264
+ * Special channels used in {@link Document.calculations}.
1265
+ * @minVersion 24.5
1266
+ */
1267
+ export enum CalculationsChannel {
1268
+ TRANSPARENCY = 'transparencyEnum',
1269
+ SELECTION = 'selection',
1270
+ GRAY = 'gray',
1271
+ }
1272
+ /**
1273
+ * Special channels used in {@link Layer.applyImage}.
1274
+ * @minVersion 24.5
1275
+ */
1276
+ export enum ApplyImageChannel {
1277
+ TRANSPARENCY = 'transparencyEnum',
1278
+ SELECTION = 'selection',
1279
+ RGB = 'RGB',
1280
+ CMYK = 'CMYK',
1281
+ LAB = 'lab',
1282
+ }
1283
+ /**
1284
+ * Use merged layers as a source in [Document.calculations]].
1285
+ * @minVersion 24.5
1286
+ */
1287
+ export enum CalculationsLayer {
1288
+ MERGED = 'merged',
1289
+ }
1290
+ /**
1291
+ * Use merged layers as a source in {@link Layer.applyImage}.
1292
+ * @minVersion 24.5
1293
+ */
1294
+ export enum ApplyImageLayer {
1295
+ MERGED = 'merged',
1296
+ }
1297
+ /**
1298
+ * Method to use to smooth edges by softening the color transition between edge pixels
1299
+ * and the background. Used in a {@link CharacterStyle.antiAliasMethod}
1300
+ * @minVersion 24.1
1301
+ */
1302
+ export enum AntiAlias {
1303
+ NONE = 'antiAliasNone',
1304
+ SHARP = 'antiAliasSharp',
1305
+ CRISP = 'antiAliasCrisp',
1306
+ STRONG = 'antiAliasStrong',
1307
+ SMOOTH = 'antiAliasSmooth',
1308
+ }
1309
+ /**
1310
+ * The warp style to use with Text. Used in a {@link WarpStyle.style}
1311
+ * @minVersion 24.1
1312
+ */
1313
+ export enum WarpStyle {
1314
+ ARC = 'warpArc',
1315
+ ARCH = 'warpArch',
1316
+ ARCLOWER = 'warpArcLower',
1317
+ ARCUPPER = 'warpArcUpper',
1318
+ BULGE = 'warpBulge',
1319
+ FISH = 'warpFish',
1320
+ FISHEYE = 'warpFisheye',
1321
+ FLAG = 'warpFlag',
1322
+ INFLATE = 'warpInflate',
1323
+ NONE = 'warpNone',
1324
+ RISE = 'warpRise',
1325
+ SHELLLOWER = 'warpShellLower',
1326
+ SHELLUPPER = 'warpShellUpper',
1327
+ SQUEEZE = 'warpSqueeze',
1328
+ TWIST = 'warpTwist',
1329
+ WAVE = 'warpWave',
1330
+ }
1331
+ /**
1332
+ * The type of kerning to use for characters. Used in {@link CharacterStyle.autoKerning}
1333
+ * @minVersion 24.1
1334
+ */
1335
+ export enum AutoKernType {
1336
+ MANUAL = 'manual',
1337
+ METRICS = 'metricsKern',
1338
+ OPTICAL = 'opticalKern',
1339
+ }
1340
+ /**
1341
+ * The capitalization style to use in text. Used in {@link CharacterStyle.capitalization}
1342
+ * @minVersion 24.1
1343
+ */
1344
+ export enum TextCase {
1345
+ ALLCAPS = 'allCaps',
1346
+ NORMAL = 'normal',
1347
+ SMALLCAPS = 'smallCaps',
1348
+ }
1349
+ /**
1350
+ * The baseline style to use in text. Used in {@link CharacterStyle.baseline}
1351
+ * @minVersion 24.1
1352
+ */
1353
+ export enum Baseline {
1354
+ NORMAL = 'normal',
1355
+ SUPERSCRIPT = 'superScript',
1356
+ SUBSCRIPT = 'subScript',
1357
+ }
1358
+ /**
1359
+ * The underline style to use in text. Used in {@link CharacterStyle.underline}
1360
+ * @minVersion 24.1
1361
+ */
1362
+ export enum Underline {
1363
+ NONE = 'underlineOff',
1364
+ RIGHTINVERTICAL = 'underlineOnRightInVertical',
1365
+ LEFTINVERTICAL = 'underlineOnLeftInVertical',
1366
+ }
1367
+ /**
1368
+ * The language to use for text. Used in {@link CharacterStyle.language}
1369
+ * @minVersion 24.1
1370
+ */
1371
+ export enum Language {
1372
+ ENGLISHUSA = 'englishLanguage',
1373
+ ENGLISHUK = 'ukenglishLanguage',
1374
+ ENGLISHCANADA = 'canadianEnglishLanguage',
1375
+ FINNISH = 'finnishLanguage',
1376
+ FRENCH = 'standardFrenchLanguage',
1377
+ CANADIANFRENCH = 'canadianFrenchLanguage',
1378
+ GERMAN = 'standardGermanLanguage',
1379
+ GERMAN1996 = 'germanLanguageReformed1996',
1380
+ OLDGERMAN = 'oldGermanLanguage',
1381
+ SWISSGERMAN = 'swissGermanLanguage',
1382
+ OLDSWISSGERMAN = 'swissGermanLanguageOldRules',
1383
+ ITALIAN = 'italianLanguage',
1384
+ NORWEGIAN = 'bokmalNorwegianLanguage',
1385
+ NYNORSKNORWEGIAN = 'nynorskNorwegianLanguage',
1386
+ PORTUGUESE = 'standardPortugueseLanguage',
1387
+ BRAZILLIANPORTUGUESE = 'brazilianPortugueseLanguage',
1388
+ SPANISH = 'spanishLanguage',
1389
+ SWEDISH = 'swedishLanguage',
1390
+ DUTCH = 'dutchLanguage',
1391
+ OLDDUTCH = 'kdutchLanguageOldRules',
1392
+ DANISH = 'danishLanguage',
1393
+ RUSSIAN = 'russianLanguage',
1394
+ SERBIAN = 'serbianLanguage',
1395
+ CZECH = 'czechLanguage',
1396
+ POLISH = 'polishLanguage',
1397
+ GREEK = 'greekLanguage',
1398
+ TURKISH = 'turkishLanguage',
1399
+ ICELANDIC = 'icelandicLanguage',
1400
+ HUNGARIAN = 'hungarianLanguage',
1401
+ CATALAN = 'catalanLanguage',
1402
+ CROATIAN = 'croatianLanguage',
1403
+ ROMANIAN = 'romanianLanguage',
1404
+ UKRAINIAN = 'ukranianLanguage',
1405
+ SLOVENIAN = 'slovenianLanguage',
1406
+ BULGARIAN = 'bulgarianLanguage',
1407
+ LATVIAN = 'latvianLanguage',
1408
+ LITHUANIAN = 'lithuanianLanguage',
1409
+ ESTONIAN = 'estonianLanguage',
1410
+ SLOVAK = 'slovakLanguage',
1411
+ CHINESE = 'chineseLanguage',
1412
+ JAPANESE = 'japaneseLanguage',
1413
+ ARABIC = 'arabicLanguage',
1414
+ HEBREW = 'hebrewLanguage',
1415
+ HINDI = 'hindiLanguage',
1416
+ BANGLAINDIA = 'bengaliIndiaLanguage',
1417
+ TAMIL = 'tamilLanguage',
1418
+ MALAYALAM = 'malayalamLanguage',
1419
+ TELUGU = 'teluguLanguage',
1420
+ KANNADA = 'kannadaLanguage',
1421
+ GUJARATI = 'gujaratiLanguage',
1422
+ MARATHI = 'marathiLanguage',
1423
+ PUNJABI = 'punjabiLanguage',
1424
+ ODIA = 'oriyaLanguage',
1425
+ THAI = 'thaiLanguage',
1426
+ KHMER = 'khmerLanguage',
1427
+ BURMESE = 'burmeseLanguage',
1428
+ LAO = 'laoLanguage',
1429
+ SINHALESE = 'sinhaleseLanguage',
1430
+ INDONESIAN = 'indonesianLanguage',
1431
+ }
1432
+ /**
1433
+ * The placement of paragraph text within the bounding box.
1434
+ * Used in {@link ParagraphStyle.justification}
1435
+ * @minVersion 24.1
1436
+ */
1437
+ export enum Justification {
1438
+ LEFT = 'left',
1439
+ CENTER = 'center',
1440
+ RIGHT = 'right',
1441
+ LEFTJUSTIFIED = 'justifyLeft',
1442
+ CENTERJUSTIFIED = 'justifyCenter',
1443
+ RIGHTJUSTIFIED = 'justifyRight',
1444
+ FULLYJUSTIFIED = 'justifyAll',
1445
+ }
1446
+ /**
1447
+ * The text strikethrough style to use in text. Used in {@link CharacterStyle.strikeThrough}
1448
+ * @minVersion 24.1
1449
+ */
1450
+ export enum StrikeThrough {
1451
+ STRIKEBOX = 'eMBoxStrikethroughOn',
1452
+ STRIKEHEIGHT = 'xHeightStrikethroughOn',
1453
+ STRIKEOFF = 'strikethroughOff',
1454
+ }
1455
+ /**
1456
+ * The character alignment to use in text.
1457
+ * Used in {@link CharacterStyle.characterAlignment}
1458
+ * @minVersion 24.1
1459
+ */
1460
+ export enum CharacterAlignment {
1461
+ ROMAN = 'roman',
1462
+ EMBOXTOPRIGHT = 'top',
1463
+ EMBOXCENTER = 'center',
1464
+ EMBOXBOTTOMLEFT = 'bottom',
1465
+ ICFBOXTOPRIGHT = 'icftop',
1466
+ ICFBOTTOMLEFT = 'icfbottom',
1467
+ }
1468
+ /**
1469
+ * The paragraph layout to use in text.
1470
+ * Used in {@link ParagraphStyle.layoutMode}
1471
+ * @minVersion 24.1
1472
+ */
1473
+ export enum ParagraphLayout {
1474
+ LATINEASTASIAN = 'textLatinCJKComposer',
1475
+ WORLDREADY = 'textOptycaComposer',
1476
+ }
1477
+ /**
1478
+ * The paragraph features to use in text.
1479
+ * Used in {@link ParagraphStyle.features}
1480
+ * @minVersion 24.1
1481
+ */
1482
+ export enum ParagraphFeatures {
1483
+ DEFAULT = 'defaultTextInterface',
1484
+ EASTASIAN = 'advancedAsianInterface',
1485
+ MIDDLEASTERN = 'middleEasternInterface',
1486
+ }
1487
+ /**
1488
+ * Text flow direction (Middle Eastern features).
1489
+ * Used in {@link CharacterStyle.middleEasternTextDirection}
1490
+ * @minVersion 24.1
1491
+ */
1492
+ export enum MiddleEasternTextDirection {
1493
+ DEFAULT = 'dirOverrideDefault',
1494
+ LEFTTORIGHT = 'dirOverrideLTR',
1495
+ RIGHTTOLEFT = 'dirOverrideRTL',
1496
+ }
1497
+ /**
1498
+ * Digit type to use in text (Middle Eastern features).
1499
+ * Used in {@link CharacterStyle.middleEasternDigitsType}
1500
+ * @minVersion 24.1
1501
+ */
1502
+ export enum MiddleEasternDigitsType {
1503
+ LTRARABIC = 'arabicDigits',
1504
+ RTLARABIC = 'RTLarabicDigits',
1505
+ HINDI = 'hindiDigits',
1506
+ FARSI = 'farsiDigits',
1507
+ }
1508
+ /**
1509
+ * The width of kashida (tatweel) character
1510
+ * Used in {@link ParagraphStyle.kashidaWidth}
1511
+ * @minVersion 24.1
1512
+ */
1513
+ export enum KashidaWidthType {
1514
+ NONE = 'kashidaWidthNone',
1515
+ SHORT = 'kashidaWidthSmall',
1516
+ MEDIUM = 'kashidaWidthMedium',
1517
+ LONG = 'kashidaWidthLong',
1518
+ STYLISTIC = 'kashidaWidthStylistic',
1519
+ }
1520
+ /**
1521
+ * Line breaking rules in Japanese text
1522
+ * Used in {@link ParagraphStyle.kinsoku}
1523
+ * @minVersion 24.1
1524
+ */
1525
+ export enum Kinsoku {
1526
+ NONE = 'None',
1527
+ JISWEAK = 'Soft',
1528
+ JISMAXIMUM = 'Hard',
1529
+ }
1530
+ /**
1531
+ * Spacing between punctuation, symbols, numbers,
1532
+ * and other character classes in Japanese text
1533
+ * Used in {@link ParagraphStyle.mojikumi}
1534
+ * @minVersion 24.1
1535
+ */
1536
+ export enum Mojikumi {
1537
+ NONE = 'None',
1538
+ SET1 = 'Photoshop6MojiKumiSet1',
1539
+ SET2 = 'Photoshop6MojiKumiSet2',
1540
+ SET3 = 'Photoshop6MojiKumiSet3',
1541
+ SET4 = 'Photoshop6MojiKumiSet4',
1542
+ }
1543
+
1544
+ /**
1545
+ * The different constants and enumerations that DOM APIs expect as certain parameters
1546
+ */
1547
+ export const constants: {
1548
+ AnchorPosition: typeof AnchorPosition;
1549
+ AntiAlias: typeof AntiAlias;
1550
+ ApplyImageBlendMode: typeof ApplyImageBlendMode;
1551
+ ApplyImageChannel: typeof ApplyImageChannel;
1552
+ ApplyImageLayer: typeof ApplyImageLayer;
1553
+ AutoKernType: typeof AutoKernType;
1554
+ Baseline: typeof Baseline;
1555
+ BitmapConversionType: typeof BitmapConversionType;
1556
+ BitmapHalfToneType: typeof BitmapHalfToneType;
1557
+ BitsPerChannelType: typeof BitsPerChannelType;
1558
+ BlendMode: typeof BlendMode;
1559
+ BMPDepthType: typeof BMPDepthType;
1560
+ CalculationsBlendMode: typeof CalculationsBlendMode;
1561
+ CalculationsChannel: typeof CalculationsChannel;
1562
+ CalculationsLayer: typeof CalculationsLayer;
1563
+ CalculationsResult: typeof CalculationsResult;
1564
+ ChangeMode: typeof ChangeMode;
1565
+ ChannelType: typeof ChannelType;
1566
+ CharacterAlignment: typeof CharacterAlignment;
1567
+ ColorBlendMode: typeof ColorBlendMode;
1568
+ ColorModel: typeof ColorModel;
1569
+ ColorPicker: typeof ColorPicker;
1570
+ ColorProfileType: typeof ColorProfileType;
1571
+ CreateFields: typeof CreateFields;
1572
+ DepthMapSource: typeof DepthMapSource;
1573
+ DialogModes: typeof DialogModes;
1574
+ Direction: typeof Direction;
1575
+ DisplacementMapType: typeof DisplacementMapType;
1576
+ Dither: typeof Dither;
1577
+ DocumentFill: typeof DocumentFill;
1578
+ DocumentMode: typeof DocumentMode;
1579
+ EditLogItemsType: typeof EditLogItemsType;
1580
+ ElementPlacement: typeof ElementPlacement;
1581
+ EliminateFields: typeof EliminateFields;
1582
+ FontSize: typeof FontSize;
1583
+ ForcedColors: typeof ForcedColors;
1584
+ Geometry: typeof Geometry;
1585
+ GridLineStyle: typeof GridLineStyle;
1586
+ GridSize: typeof GridSize;
1587
+ GuideLineStyle: typeof GuideLineStyle;
1588
+ Intent: typeof Intent;
1589
+ InterpolationMethod: typeof InterpolationMethod;
1590
+ JPEGFormatOptions: typeof JPEGFormatOptions;
1591
+ Justification: typeof Justification;
1592
+ KashidaWidthType: typeof KashidaWidthType;
1593
+ Kinsoku: typeof Kinsoku;
1594
+ LabelColors: typeof LabelColors;
1595
+ Language: typeof Language;
1596
+ LayerKind: typeof LayerKind;
1597
+ LensType: typeof LensType;
1598
+ MatteColor: typeof MatteColor;
1599
+ MaximizeCompatibility: typeof MaximizeCompatibility;
1600
+ MiddleEasternDigitsType: typeof MiddleEasternDigitsType;
1601
+ MiddleEasternTextDirection: typeof MiddleEasternTextDirection;
1602
+ Mojikumi: typeof Mojikumi;
1603
+ NewDocumentMode: typeof NewDocumentMode;
1604
+ NoiseDistribution: typeof NoiseDistribution;
1605
+ OffsetUndefinedAreas: typeof OffsetUndefinedAreas;
1606
+ OperatingSystem: typeof OperatingSystem;
1607
+ Orientation: typeof Orientation;
1608
+ OtherCursors: typeof OtherCursors;
1609
+ PaintingCursors: typeof PaintingCursors;
1610
+ Palette: typeof Palette;
1611
+ ParagraphFeatures: typeof ParagraphFeatures;
1612
+ ParagraphLayout: typeof ParagraphLayout;
1613
+ PathKind: typeof PathKind;
1614
+ PNGMethod: typeof PNGMethod;
1615
+ PointKind: typeof PointKind;
1616
+ PointType: typeof PointType;
1617
+ PolarConversionType: typeof PolarConversionType;
1618
+ PreserveShape: typeof PreserveShape;
1619
+ RadialBlurMethod: typeof RadialBlurMethod;
1620
+ RadialBlurQuality: typeof RadialBlurQuality;
1621
+ RasterizeType: typeof RasterizeType;
1622
+ ResampleMethod: typeof ResampleMethod;
1623
+ RippleSize: typeof RippleSize;
1624
+ RulerUnits: typeof RulerUnits;
1625
+ SampleSize: typeof SampleSize;
1626
+ SaveLogItemsType: typeof SaveLogItemsType;
1627
+ SaveMethod: typeof SaveMethod;
1628
+ SaveOptions: typeof SaveOptions;
1629
+ SavePreview: typeof SavePreview;
1630
+ SelectionType: typeof SelectionType;
1631
+ ShapeOperation: typeof ShapeOperation;
1632
+ SmartBlurMode: typeof SmartBlurMode;
1633
+ SmartBlurQuality: typeof SmartBlurQuality;
1634
+ SpherizeMode: typeof SpherizeMode;
1635
+ StrikeThrough: typeof StrikeThrough;
1636
+ TextCase: typeof TextCase;
1637
+ TextureType: typeof TextureType;
1638
+ ToolType: typeof ToolType;
1639
+ TrimType: typeof TrimType;
1640
+ TypeInterfaceFeatures: typeof TypeInterfaceFeatures;
1641
+ TypeUnits: typeof TypeUnits;
1642
+ Underline: typeof Underline;
1643
+ UndefinedAreas: typeof UndefinedAreas;
1644
+ Units: typeof Units;
1645
+ WarpStyle: typeof WarpStyle;
1646
+ WaveType: typeof WaveType;
1647
+ ZigZagType: typeof ZigZagType;
1648
+ };