Edit in GitHubLog an issue

Constants

To use any constant, import the constants object from the photoshop module first.

Copied to your clipboard
const {app, constants} = require("photoshop");
await app.activeDocument.resizeImage(
800, 600, 100,
constants.InterpolationMethod.AUTOMATIC
);

Enumerations

AnchorPosition

22.5

The point around which to transform an object.

This is the point that does not move when an object is rotated or resized

NameDescription
BOTTOMCENTER
-
BOTTOMLEFT
-
BOTTOMRIGHT
-
MIDDLECENTER
-
MIDDLELEFT
-
MIDDLERIGHT
-
TOPCENTER
-
TOPLEFT
-
TOPRIGHT
-

AntiAlias

24.1

Method to use to smooth edges by softening the color transition between edge pixels and the background. Used in a CharacterStyle.antiAliasMethod

NameDescription
CRISP
-
NONE
-
SHARP
-
SMOOTH
-
STRONG
-

ApplyImageBlendMode

24.5

The kind of blending used in a Layer.applyImage operation.

NameDescription
ADD
-
COLORBURN
-
COLORDODGE
-
DARKEN
-
DARKERCOLOR
-
DIFFERENCE
-
DIVIDE
-
EXCLUSION
-
HARDLIGHT
-
HARDMIX
-
LIGHTEN
-
LIGHTERCOLOR
-
LINEARBURN
-
LINEARDODGE
-
LINEARLIGHT
-
MULTIPLY
-
NORMAL
-
OVERLAY
-
PINLIGHT
-
SCREEN
-
SOFTLIGHT
-
SUBTRACT
-
VIVIDLIGHT
-

ApplyImageChannel

24.5

Special channels used in Layer.applyImage.

NameDescription
CMYK
-
LAB
-
RGB
-
SELECTION
-
TRANSPARENCY
-

ApplyImageLayer

24.5

Use merged layers as a source in Layer.applyImage.

NameDescription
MERGED
-

AutoKernType

24.1

The type of kerning to use for characters. Used in CharacterStyle.autoKerning

NameDescription
MANUAL
-
METRICS
-
OPTICAL
-

BMPDepthType

22.5

Number of bits per channel (also called pixel depth or color depth).

The number selected indicates the exponent of 2.

NameDescription
EIGHT
-
FOUR
-
ONE
-
SIXTEEN
-
THIRTYTWO
-
TWENTYFOUR
-

Baseline

24.1

The baseline style to use in text. Used in CharacterStyle.baseline

NameDescription
NORMAL
-
SUBSCRIPT
-
SUPERSCRIPT
-

BitmapConversionType

22.5

Specifies the quality of an image you are converting to bitmap mode. Used in BitmapConversionOptions

NameDescription
CUSTOMPATTERN
-
DIFFUSIONDITHER
-
HALFTHRESHOLD
-
HALFTONESCREEN
-
PATTERNDITHER
-

BitmapHalfToneType

22.5

Specifies the shape of the dots (ink deposits) in the halftone screen. Used in BitmapConversionOptions

NameDescription
CROSS
-
DIAMOND
-
ELLIPSE
-
LINE
-
ROUND
-
SQUARE
-

BitsPerChannelType

23.0

The number of bits per color channel.

NameDescription
EIGHT
-
ONE
-
SIXTEEN
-
THIRTYTWO
-

BlendMode

22.5

Blending mode

NameDescription
COLOR
-
COLORBURN
-
COLORDODGE
-
DARKEN
-
DARKERCOLOR
-
DIFFERENCE
-
DISSOLVE
-
DIVIDE
-
EXCLUSION
-
HARDLIGHT
-
HARDMIX
-
HUE
-
LIGHTEN
-
LIGHTERCOLOR
-
LINEARBURN
-
LINEARDODGE
-
LINEARLIGHT
-
LUMINOSITY
-
MULTIPLY
-
NORMAL
-
OVERLAY
-
PASSTHROUGH
-
PINLIGHT
-
SATURATION
-
SCREEN
-
SOFTLIGHT
-
SUBTRACT
-
VIVIDLIGHT
-

CalculationsBlendMode

24.5

The kind of blending used in a Document.calculations operation.

NameDescription
ADD
-
COLORBURN
-
COLORDODGE
-
DARKEN
-
DARKERCOLOR
-
DIFFERENCE
-
DIVIDE
-
EXCLUSION
-
HARDLIGHT
-
HARDMIX
-
LIGHTEN
-
LIGHTERCOLOR
-
LINEARBURN
-
LINEARDODGE
-
LINEARLIGHT
-
MULTIPLY
-
NORMAL
-
OVERLAY
-
PINLIGHT
-
SCREEN
-
SOFTLIGHT
-
SUBTRACT
-
VIVIDLIGHT
-

CalculationsChannel

24.5

Special channels used in Document.calculations.

NameDescription
GRAY
-
SELECTION
-
TRANSPARENCY
-

CalculationsLayer

24.5

Use merged layers as a source in [Document.calculations]].

NameDescription
MERGED
-

CalculationsResult

24.5

The result of Document.calculations can go into a new document, a new channel in the active document, or a new selection in the active document.

NameDescription
NEWCHANNEL
-
NEWDOCUMENT
-
SELECTION
-

ChangeMode

22.5

The new color profile or mode for a document, specified in Document.changeMode

NOTE: Color images must be changed to GRAYSCALE mode before you can change them to BITMAP mode.

NameDescription
BITMAP
-
CMYK
-
GRAYSCALE
-
INDEXEDCOLOR
-
LAB
-
MULTICHANNEL
-
RGB
-

ChannelType

22.5

The type of a color channel.

NameDescription
COMPONENT
Specific to document color mode
MASKEDAREA
Alpha channel where color indicates masked area
SELECTEDAREA
Alpha channel where color indicates selected area
SPOTCOLOR
Alpha channel to store a spot color

CharacterAlignment

24.1

The character alignment to use in text. Used in CharacterStyle.characterAlignment

NameDescription
EMBOXBOTTOMLEFT
-
EMBOXCENTER
-
EMBOXTOPRIGHT
-
ICFBOTTOMLEFT
-
ICFBOXTOPRIGHT
-
ROMAN
-

ColorBlendMode

23.3

The kind of blending used in a fill or stroke operation. Pass to PathItem.fillPath()

NameDescription
BEHIND
-
CLEAR
-
COLOR
-
COLORBURN
-
COLORDODGE
-
DARKEN
-
DARKERCOLOR
-
DIFFERENCE
-
DISSOLVE
-
EXCLUSION
-
HARDLIGHT
-
HARDMIXBLEND
-
HUE
-
LIGHTEN
-
LIGHTERCOLOR
-
LINEARBURN
-
LINEARDODGE
-
LINEARLIGHT
-
LUMINOSITY
-
MULTIPLY
-
NORMAL
-
OVERLAY
-
PINLIGHT
-
SATURATION
-
SCREEN
-
SOFTLIGHT
-
VIVIDLIGHT
-

ColorModel

22.5

The color model representing the current color space of a SolidColor object.

NameDescription
CMYK
-
GRAYSCALE
-
HSB
-
LAB
-
NONE
-
RGB
-

ColorPicker

24.0

The kind of color picker dialog to use. Pass to PreferencesGeneral.colorPicker

NameDescription
ADOBE
The Adobe Color Picker.
OSNATIVE
The built-in Apple or Windows color picker.
PLUGIN
The built-in Windows color picker.

ColorProfileType

22.5

Type of color profile used to manage a document, used in Document.colorProfileType

NameDescription
CUSTOM
Set for all custom profiles
NONE
Set when document is not color managed
WORKING
Set when document uses the working color profile

CreateFields

23.5

The method used for creating fields. Pass to Layer.applyDeInterlace.

NameDescription
DUPLICATION
-
INTERPOLATION
-

DepthMapSource

23.5

The source to use for the depth map. Pass to Layer.applyLensBlur().

NameDescription
IMAGEHIGHLIGHT
-
LAYERMASK
-
NONE
-
TRANSPARENCYCHANNEL
-

DialogModes

22.5

Controls the type of dialogs Photoshop displays during API calls

NameDescription
ALL
All dialogs will be shown
ERROR
Dialogs will be shown only if Photoshop raises an error
NONE
All dialogs will be hidden, and bad calls will silently fail

Direction

22.5

Used in multiple places to represent orientation.

Orientation of a guide in Guide.direction

NameDescription
HORIZONTAL
-
VERTICAL
-

DisplacementMapType

23.5

Describes how the displacement map fits the image if the image is not the same size as the map. Pass to Layer.applyDisplace.

NameDescription
STRETCHTOFIT
-
TILE
-

Dither

22.5

The type of dithering

NameDescription
DIFFUSION
-
NOISE
-
NONE
-
PATTERN
-

DocumentFill

22.5

Fill methods available for the new document background

NameDescription
BACKGROUNDCOLOR
-
BLACK
-
COLOR
-
TRANSPARENT
-
WHITE
-

DocumentMode

22.5

Color mode of an open document. See also Document.mode and Document.changeMode

NameDescription
BITMAP
-
CMYK
-
DUOTONE
-
GRAYSCALE
-
INDEXEDCOLOR
-
LAB
-
MULTICHANNEL
-
RGB
-

EditLogItemsType

24.0

The history log edit options. Pass to PreferencesHistory.editLogItems

NameDescription
CONCISE
Includes the text that appears in the History panel in addition to the Sessions information.
DETAILED
Includes the text that appears in the Actions panel in addition to the Concise information. If you need a complete history of all changes made to files, choose Detailed.
SESSIONONLY
Keeps a record of each time you start or quit Photoshop and each time you open and close files (each image’s filename is included). Does not include any information about edits made to the file.

ElementPlacement

22.5

Placement modes for Layer.move method

NameDescription
PLACEAFTER
Place below a layer, below group if group layer
PLACEATBEGINNING
Place at the top
PLACEATEND
Place at the bottom, above background if background layer exists
PLACEBEFORE
Place above a layer, above group if group layer
PLACEINSIDE
Place inside a group layer, throws error if not group layer

EliminateFields

23.5

The type of field to eliminate. Pass to Layer.applyDeInterlace.

NameDescription
EVENFIELDS
-
ODDFIELDS
-

FontSize

24.0

Font size in panels and dialogs. Pass to PreferencesInterface.textFontSize

NameDescription
LARGE
Large size.
MEDIUM
Medium size.
SMALL
Small size.
TINY
Tiny size.

ForcedColors

22.5

The type of colors to be included the color table regardless of their usage

NameDescription
BLACKANDWHITE
Pure black and pure white
NONE
None
PRIMARIES
Red, green, blue, cyan, magenta, yellow, black, and white.
WEB
The 216 web-safe colors

Geometry

23.5

Geometric options for shapes, such as the iris shape in the Lens Blur filter. Pass to Layer.applyLensBlur().

NameDescription
HEPTAGON
-
HEXAGON
-
OCTAGON
-
PENTAGON
-
SQUARE
-
TRIANGLE
-

GridLineStyle

24.0

The line style for nonprinting grids displayed over images. Pass to PreferencesGuidesGridsAndSlices.gridStyle

NameDescription
DASHED
-
DOTTED
-
SOLID
-

GridSize

24.0

The size of grid squares. Pass to PreferencesTransparencyAndGamut.gridSize

NameDescription
LARGE
Large grid squares.
MEDIUM
Medium grid squares.
NONE
No grid is displayed.
SMALL
Small grid squares.

GuideLineStyle

24.0

The line style for nonprinting guides displayed over images. Pass to PreferencesGuidesGridsAndSlices.guideStyle

NameDescription
DASHED
-
SOLID
-

Intent

22.5

The rendering intent to use when converting from one color space to another with Document.convertProfile

NameDescription
ABSOLUTECOLORIMETRIC
-
PERCEPTUAL
-
RELATIVECOLORIMETRIC
-
SATURATION
-

InterpolationMethod

24.0

The method to use for bitmap interpolation.

Pass to

NameDescription
AUTOMATIC
Choose best bicubic option automatically
BICUBIC
Bicubic interpolation
BICUBICSHARPER
Apply a sharpening mask
BICUBICSMOOTHER
Apply a smoothing mask
BILINEAR
Bilinear interpolate
NEARESTNEIGHBOR
Determine value based on nearest neighbor

JPEGFormatOptions

22.5

The option with which to save a JPEG file.

NameDescription
OPTIMIZEDBASELINE
Optimized color and a slightly reduced file size.
PROGRESSIVE
Displays a series of increasing detailed scans as the image downloads.
STANDARDBASELINE
Format recognized by most web browsers.

Justification

24.1

The placement of paragraph text within the bounding box. Used in ParagraphStyle.justification

NameDescription
CENTER
-
CENTERJUSTIFIED
-
FULLYJUSTIFIED
-
LEFT
-
LEFTJUSTIFIED
-
RIGHT
-
RIGHTJUSTIFIED
-

KashidaWidthType

24.1

The width of kashida (tatweel) character Used in ParagraphStyle.kashidaWidth

NameDescription
LONG
-
MEDIUM
-
NONE
-
SHORT
-
STYLISTIC
-

Kinsoku

24.1

Line breaking rules in Japanese text Used in ParagraphStyle.kinsoku

NameDescription
JISMAXIMUM
-
JISWEAK
-
NONE
-

LabelColors

22.5

Options for layer list label colors

NameDescription
BLUE
-
GRAY
-
GREEN
-
NONE
-
ORANGE
-
RED
-
VIOLET
-
YELLOW
-

Language

24.1

The language to use for text. Used in CharacterStyle.language

NameDescription
ARABIC
-
BANGLAINDIA
-
BRAZILLIANPORTUGUESE
-
BULGARIAN
-
BURMESE
-
CANADIANFRENCH
-
CATALAN
-
CHINESE
-
CROATIAN
-
CZECH
-
DANISH
-
DUTCH
-
ENGLISHCANADA
-
ENGLISHUK
-
ENGLISHUSA
-
ESTONIAN
-
FINNISH
-
FRENCH
-
GERMAN
-
GERMAN1996
-
GREEK
-
GUJARATI
-
HEBREW
-
HINDI
-
HUNGARIAN
-
ICELANDIC
-
INDONESIAN
-
ITALIAN
-
JAPANESE
-
KANNADA
-
KHMER
-
LAO
-
LATVIAN
-
LITHUANIAN
-
MALAYALAM
-
MARATHI
-
NORWEGIAN
-
NYNORSKNORWEGIAN
-
ODIA
-
OLDDUTCH
-
OLDGERMAN
-
OLDSWISSGERMAN
-
POLISH
-
PORTUGUESE
-
PUNJABI
-
ROMANIAN
-
RUSSIAN
-
SERBIAN
-
SINHALESE
-
SLOVAK
-
SLOVENIAN
-
SPANISH
-
SWEDISH
-
SWISSGERMAN
-
TAMIL
-
TELUGU
-
THAI
-
TURKISH
-
UKRAINIAN
-

LayerKind

22.5

Kinds of different layers in a document

NameDescription
BLACKANDWHITE
-
BRIGHTNESSCONTRAST
-
CHANNELMIXER
-
COLORBALANCE
-
COLORLOOKUP
-
CURVES
-
EXPOSURE
-
GRADIENTFILL
-
GRADIENTMAP
-
GROUP
-
HUESATURATION
-
INVERSION
-
LAYER3D
-
LEVELS
-
NORMAL
-
PATTERNFILL
-
PHOTOFILTER
-
POSTERIZE
-
SELECTIVECOLOR
-
SMARTOBJECT
-
SOLIDFILL
-
TEXT
-
THRESHOLD
-
VIBRANCE
-
VIDEO
-

LensType

23.5

The type of Lens to use. Pass to Layer.applyLensFlare().

NameDescription
MOVIEPRIME
-
PRIME105
-
PRIME35
-
ZOOMLENS
-

MatteColor

22.5

The color to use to fill anti-aliased edges adjacent to transparent areas of the image. When transparency is turned off for an image, the matte color is applied to transparent areas.

NameDescription
BACKGROUND
-
BLACK
-
FOREGROUND
-
NETSCAPE
-
SEMIGRAY
-
WHITE
-

MaximizeCompatibility

24.0

The permission state for queries. Pass to PreferencesFileHandling.maximizeCompatibility

NameDescription
ALWAYS
Always maximize compatibility.
ASK
Always ask about maximize compatibility.
NEVER
Never ask about maximize compatibility.

MiddleEasternDigitsType

24.1

Digit type to use in text (Middle Eastern features). Used in CharacterStyle.middleEasternDigitsType

NameDescription
FARSI
-
HINDI
-
LTRARABIC
-
RTLARABIC
-

MiddleEasternTextDirection

24.1

Text flow direction (Middle Eastern features). Used in CharacterStyle.middleEasternTextDirection

NameDescription
DEFAULT
-
LEFTTORIGHT
-
RIGHTTOLEFT
-

Mojikumi

24.1

Spacing between punctuation, symbols, numbers, and other character classes in Japanese text Used in ParagraphStyle.mojikumi

NameDescription
NONE
-
SET1
-
SET2
-
SET3
-
SET4
-

NewDocumentMode

22.5

Color Modes available for new document

NameDescription
BITMAP
-
CMYK
-
GRAYSCALE
-
LAB
-
RGB
-

NoiseDistribution

23.5

Distribution model to use when applying an Add Noise filter. Pass to Layer.applyAddNoise.

NameDescription
GAUSSIAN
-
UNIFORM
-

OffsetUndefinedAreas

23.5

Method to use to fill the empty space left by offsetting an image or selection. Pass to Layer.applyOffset()

NameDescription
REPEATEDGEPIXELS
-
SETTOBACKGROUND
-
WRAPAROUND
-

OperatingSystem

22.5

The target operating system in BMPSaveOptions.

NameDescription
OS2
-
WINDOWS
-

Orientation

24.1

Used in multiple places to represent orientation e.g., TextItem.orientation

NameDescription
HORIZONTAL
-
VERTICAL
-

OtherCursors

24.0

The style of the cursors for the following tools: Marquee, Lasso, Polygonal Lasso, Magic Wand, Crop, Slice, Patch Eyedropper, Pen, Gradient, Line, Paint Bucket, Magnetic Lasso, Magnetic Pen, Freeform Pen, Measure, and Color Sampler. Pass to PreferencesCursors.otherCursors

NameDescription
PRECISE
Use crosshair cursors for tools.
STANDARD
Use small iconic cursors for tools.

PNGMethod

22.5

Compression method for saving a PNG file

NameDescription
MODERATE
-
QUICK
-
THOROUGH
-

PaintingCursors

24.0

The style of the cursors for the following tools: Eraser, Pencil, Paintbrush, Healing Brush, Rubber Stamp, Pattern Stamp, Smudge, Blur, Sharpen, Dodge, Burn, Sponge. Pass to PreferencesCursors.paintingCursors

NameDescription
BRUSHSIZE
Displays cursors as brush shapes representing the size of the current brush where boundaries have 50% brush opacity
FULLSIZE
Use the full size of the brush regardless of brush opacity
PRECISE
Use crosshair cursors when painting.
STANDARD
Use small iconic cursors when painting.

Palette

22.5

The palette type to use

NameDescription
EXACT
-
LOCALADAPTIVE
-
LOCALPERCEPTUAL
-
LOCALSELECTIVE
-
MACOSPALETTE
-
MASTERADAPTIVE
-
MASTERPERCEPTUAL
-
MASTERSELECTIVE
-
PREVIOUSPALETTE
-
UNIFORM
-
WEBPALETTE
-
WINDOWSPALETTE
-

ParagraphFeatures

24.1

The paragraph features to use in text. Used in ParagraphStyle.features

NameDescription
DEFAULT
-
EASTASIAN
-
MIDDLEASTERN
-

ParagraphLayout

24.1

The paragraph layout to use in text. Used in ParagraphStyle.layoutMode

NameDescription
LATINEASTASIAN
-
WORLDREADY
-

PathKind

23.5

The type of a PathItem

NameDescription
CLIPPINGPATH
-
DUPLICATE
-
INTERPOLATE
-
NORMALPATH
-
TEXTMASK
-
VECTORMASK
-
WORKPATH
-

PointKind

23.3

The role a PathPoint plays in a PathItem

NameDescription
CORNERPOINT
-
SMOOTHPOINT
-

PointType

24.0

The point/pica size: either 72 or 72.27 points per inch. Pass to PreferencesUnitsAndRulers.pointSize

NameDescription
POSTSCRIPT
72 points per inch.
TRADITIONAL
72.27 points per inch.

PolarConversionType

23.5

The kind of polar conversion. Pass to Layer.applyPolarCoordinates().

NameDescription
POLARTORECTANGULAR
The distortion applied will take the input pixel grid as polar coordinates and convert them to rectangular coordinates.
RECTANGULARTOPOLAR
The distortion applied will take the input pixel grid as rectangular coordinates and convert them to polar coordinates.

PreserveShape

23.5

Favor the promotion of either corners or curves. Pass to Layer.applyMaximum() and Layer.applyMinimum().

NameDescription
ROUNDNESS
-
SQUARENESS
-

RasterizeType

22.5

The type of layer to get rasterized.

NameDescription
ENTIRELAYER
-
FILLCONTENT
-
LAYERCLIPPINGPATH
-
LAYERSTYLE
-
LINKEDLAYERS
-
PLACED
-
SHAPE
-
TEXTCONTENTS
-
VECTORMASK
-
VIDEO
-

ResampleMethod

22.5

The method to use for document interpolation

Pass to Document.resizeImage()

NameDescription
AUTOMATIC
Choose best bicubic option automatically
BICUBIC
Bicubic interpolation
BICUBICSHARPER
Apply a sharpening mask
BICUBICSMOOTHER
Apply a smoothing mask
BILINEAR
Bilinear interpolate
DEEPUPSCALE
Using deep learning, predict what the picture will look like larger.
NEARESTNEIGHBOR
Determine value based on nearest neighbor
NONE
Changes image resolution value without affecting document dimension Currently unsupported
PRESERVEDETAILS
Attempt to preserve details by using machine learning

RippleSize

23.5

The size of undulations. Pass to Layer.applyRipple().

NameDescription
LARGE
-
MEDIUM
-
SMALL
-

RulerUnits

24.0

The measurement unit for ruler increments. Pass to PreferencesUnitsAndRulers.rulerUnits

NameDescription
CENTIMETERS
-
INCHES
-
MILLIMETERS
-
PERCENT
-
PICAS
-
PIXELS
-
POINTS
-

SampleSize

24.0

Sample size for the EyeDropper tool and ColorSampler instances.

NameDescription
POINTSAMPLE
-
SAMPLE101X101
-
SAMPLE11X11
-
SAMPLE31X31
-
SAMPLE3X3
-
SAMPLE51X51
-
SAMPLE5X5
-

SaveLogItemsType

24.0

Options for logging the history items. Pass to PreferencesHistory.saveLogItems

NameDescription
LOGFILE
Save history log in a text file.
LOGFILEANDMETADATA
Save history log in file metadata and a text file.
METADATA
Save history log in file metadata.

SaveMethod

22.5

The type of save operation.

NameDescription
SAVE
Saves the current document at the current format.
SAVEAS
Changes the format of document, changing the file.
SAVEASCOPY
Creates a copy of the document in the new format.

SaveOptions

22.5

The policy for handling new changes upon closing a document.

NameDescription
DONOTSAVECHANGES
Will close document without saving, discarding changes
PROMPTTOSAVECHANGES
Will ask the user if they'd like to save changes, blocking the script
SAVECHANGES
Will save all existing changes before closing, prompting if document is not saved yet

SavePreview

24.0

The application's behavior regarding image previews. Pass to PreferencesFileHandling.imagePreviews

NameDescription
ALWAYSSAVE
Always save the item with the file.
ASKWHENSAVING
Prompt the user whether to save the item with the file.
NEVERSAVE
Never save the item with the file.

SelectionType

23.3

The selection behavior when a selection already exists. Used in PathItem.makeSelection(), Selection.saveTo() and Selection.load()

NameDescription
DIMINISH
Remove the selection from the already selected area
EXTEND
Add the selection to an already selected area
INTERSECT
Make the selection only the area where the new selection intersectes the already selected area
REPLACE
Replace the selected area

ShapeOperation

23.3

How to combine the shapes if the destination path already has a selection.

Set for SubPathInfo.operation, stored in the resulting SubPathItem

NameDescription
SHAPEADD
-
SHAPEINTERSECT
-
SHAPESUBTRACT
-
SHAPEXOR
-

SmartBlurMode

23.5

The method to use for smart blurring. Pass to Layer.applySmartBlur().

NameDescription
EDGEONLY
-
NORMAL
-
OVERLAYEDGE
-

SmartBlurQuality

23.5

The smart blur quality. Pass to Layer.applySmartBlur().

NameDescription
HIGH
-
LOW
-
MEDIUM
-

SpherizeMode

23.5

The curve (or stretch shape) to use for the distortion. Pass to Layer.applySpherize().

NameDescription
HORIZONTAL
-
NORMAL
-
VERTICAL
-

StrikeThrough

24.1

The text strikethrough style to use in text. Used in CharacterStyle.strikeThrough

NameDescription
STRIKEBOX
-
STRIKEHEIGHT
-
STRIKEOFF
-

TextCase

24.1

The capitalization style to use in text. Used in CharacterStyle.capitalization

NameDescription
ALLCAPS
-
NORMAL
-
SMALLCAPS
-

TextureType

23.5

The type of texture or glass surface image to load for a texturizer or glass filter. Pass to Layer.applyGlassEffect().

NameDescription
BLOCKS
-
CANVAS
-
FROSTED
-
TINYLENS
-

ToolType

23.3

The tool to use with PathItem.strokePath()

NameDescription
ARTHISTORYBRUSH
-
BACKGROUNDERASER
-
BLUR
-
BRUSH
-
BURN
-
CLONESTAMP
-
COLORREPLACEMENTTOOL
-
DODGE
-
ERASER
-
HEALINGBRUSH
-
HISTORYBRUSH
-
PATTERNSTAMP
-
PENCIL
-
SHARPEN
-
SMUDGE
-
SPONGE
-

TrimType

23.0

Type of pixels to trim around an image, passed to Document.trim.

NameDescription
BOTTOMRIGHT
Bottom right pixel color.
TOPLEFT
Top left pixel color.
TRANSPARENT
Transparent pixels.

TypeInterfaceFeatures

24.0

Options for changing user interface of Character and Paragraph panels. This option is not in Preferences dialog but instead it is located in: Main menu > Type > Language Options Pass to PreferencesType.showTextFeatures

NameDescription
DEFAULT
-
EASTASIAN
-
MIDDLEEASTERN
-

TypeUnits

24.0

The measurement unit for type. Pass to PreferencesUnitsAndRulers.typeUnits

NameDescription
MILLIMETERS
-
PIXELS
-
POINTS
-

UndefinedAreas

23.5

How to treat undistorted areas or areas left blank in an image to which a filter in the Distort category has been applied. Pass to Layer.applyDisplace(), Layer.applyShear(), Layer.applyWave()

NameDescription
REPEATEDGEPIXELS
-
WRAPAROUND
-

Underline

24.1

The underline style to use in text. Used in CharacterStyle.underline

NameDescription
LEFTINVERTICAL
-
NONE
-
RIGHTINVERTICAL
-

Units

23.4

Valid Units for convertUnits method, used in Photoshop.convertUnits

NameDescription
CM
-
INCHES
-
MM
-
PICAS
-
PIXELS
-
POINTS
-

WarpStyle

24.1

The warp style to use with Text. Used in a WarpStyle.style

NameDescription
ARC
-
ARCH
-
ARCLOWER
-
ARCUPPER
-
BULGE
-
FISH
-
FISHEYE
-
FLAG
-
INFLATE
-
NONE
-
RISE
-
SHELLLOWER
-
SHELLUPPER
-
SQUEEZE
-
TWIST
-
WAVE
-

WaveType

23.5

The type of wave. Pass to Layer.applyWave().

NameDescription
SINE
-
SQUARE
-
TRIANGULAR
-

ZigZagType

23.5

The method of zigzagging. Pass to Layer.applyZigZag().

NameDescription
AROUNDCENTER
-
OUTFROMCENTER
-
PONDRIPPLES
-
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.