Application And Document Classes; Layer Classes - Adobe 65048332 Manual

Scripting guide
Table of Contents

Advertisement

C
2: Photoshop Scripting Basics
HAPTER
.
Photoshop containment hierarchy
(showing key classes only)
Selection

Application and document classes

The
Application
appropriate application in order to run correctly. See
on page
The
Document
you can crop, rotate or flip the canvas, resize the image or canvas, and trim the image. You could also use
the
Document
the active document or between different documents. For more information on using document objects,
see
"Creating New Objects in a Script" on page 23

Layer classes

Photoshop has two types of layers: an
can contain zero or more art layers.
An
Art Layer
without disturbing the others. Images are typically composed of multiple layers, defined by a
You can change the composition of an image by changing the order and attributes of the layers that
comprise it.
A
Text Item
Text Item
"Using the Text Item object" on page
Notifier
Channel
Path Item
Art Layer
Sub Path
Text Item
Item
(Object)
Path
Point
class is the root of the Photoshop object model hierarchy. Scripts must target the
22.
class is used to make modifications to the document image. By using the
object to get the active layer, then, save the current document, and copy and paste within
is a layer class within a document that allows you to work on one element of an image
is a particular type of art layer that allows you to add type to an image. In Photoshop, a
item is implemented as a property of the art layer. For more information on text items, see
Application
Document
Layer
Count
Comp
Item
Layer Set
Layer Set
Art Layer
"Targeting and Referencing the Application Object"
and
"Using the Document object" on page
that can contain image contents and a
Art Layer
41.
Photoshop Object Model 12
Preferences
Measure-
Color
ment
Sampler
Scale
Document
History
Info
State
object
Document
34.
that
Layer Set
.
Layer Set

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

65048599Photoshop cs5

Table of Contents