Chapter 11. Scripting Constants

This section lists and describes the enumerations defined for use with Adobe Photoshop CS2 JavaScript properties and methods.

Constant type

Values

What it means

AdjustmentReference

ABSOLUTE
RELATIVE

Method to use for interpreting selective color adjustment specifications: ABSOLUTE = % of the whole; RELATIVE = % of the existing color amount.

AnchorPosition

BOTTOMCENTER
BOTTOMLEFT
BOTTOMRIGHT
MIDDLECENTER
MIDDLELEFT
MIDDLERIGHT
TOPCENTER
TOPLEFT
TOPRIGHT

The point on the object that does not move when the object is rotated or resized.

AntiAlias

CRISP
NONE
SHARP
SMOOTH
STRONG

Method to use to smooth edges by softening the color transition between edge pixels and background pixels.

AutoKernType

MANUAL
METRICS
OPTICAL

The type ...

Get Adobe® Photoshop® CS2 Official JavaScript Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.