Pathitem; Properties; Kind; Name - Adobe 19400084 - Photoshop CS3 Extended Manual

Javascript scripting reference
Table of Contents

Advertisement

JavaScript Scripting Reference

PathItem

A path or drawing object, such as the outline of a shape or a straight or curved line, which contains sub
paths that comprise its geometry.
Note:
Because the
pathItem
The following example uses correct syntax to select a
activeDocument.pathItem("myPath").select()
The following example, which uses an upper case P in the object name, is incorrect:
activeDocument.PathItem("myPath").select()

Properties

Property

kind

name

parent

SubPathItems

typename

Methods

Method

deselect

()

duplicate

(name)

fillPath

([fillColor]
[, mode]
[, opacity]
[, preserveTransparency]
[, feather]
[, wholePath]
[, antiAlias])
Adobe Photoshop CS3
class is also a property of the
PathItem
, rather than the class name,
Value Type
PathKind
string
object
(Document)
SubPathItems
string
Parameter Type
string
Object (SolidColor,
ArtLayer, HistoryState)
ColorBlendMode
number (double)
boolean
number (double)
boolean
boolean
Document
, in your code.
PathItem
pathItem
What it is
Read-write. The
Read-write. The
Read-only. The
pathItem
Read-only. The sub path objects for this
object.
Read-only. The class name of the referenced
object.
pathItem
Returns
JavaScript Object Reference
object, you use the property name,
object :
object's type.
pathItem
object's name.
pathItem
object's container.
What it does
Deselects this
pathItem
object.
Duplicates this
pathItem
object with the new name
specified in the argument.
Fills the area enclosed by the
path (
: 0 - 100 as
opacity
percent;
feather
pixels).
The
parameter
wholePath
indicates that all subpaths are
used when doing the fill.
(Default:
).
true
139
pathItem
: 0.0 - 250.0 in

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop cs3

Table of Contents