JavaScript Reference
Description
The number of levels of parent groups between this property and the containing layer. The value 0 for a layer.
Type
Integer; read-only.
PropertyBase propertyGroup() method
a pp .p r o j e c t .i te m (i nd e x) .laye r( in de x) .p r op e r t y S p ec . p r o p e r ty G r o u p( )
a pp .p r o j e c t .i te m (i nd e x) .laye r( in de x) .p r op e r t y S p ec . p r o p e r ty G r o u p( co untUp )
Description
Gets the PropertyGroup object for an ancestor group of this property at a specified level of the parent-child
hierarchy.
Parameters
c o u n t U p
Returns
PropertyGroup object, or null if the count reaches the containing layer.
PropertyBase propertyIndex attribute
a pp .p r o j e c t .i te m (i nd e x) .laye r( in de x) .p r op e r t y S p ec .p rop er tyInd ex
Description
The position index of this property within its parent group, if it is a child of an indexed group (a property
group that has the type
Pr op ert yT yp e. I NDE XED _ G RO UP
page 145).
Type
Integer; read-only.
PropertyBase propertyType attribute
a pp .p r o j e c t .i te m (i nd e x) .laye r( in de x) .p r op e r t y S p ec . p r o p e r t y T y p e
Description
The type of this property.
Type
A
enumerated value; read/write. One of:
Pr ope rty Ty p e
P r o p e r ty T y p e .P R O P E R T Y
P r o p e r t y T y p e . I N D E X E D _ G R O U P
Optional. The number of levels to ascend within the parent-child hierarchy. An integer in the
pr ope rt yD ep th
range [1..
]. Default is 1, which gets the immediate parent.
A single property such as position or zoom.
A property group whose members have an editable name and an index. Effects
and masks are indexed groups. For example, the
refers to a variable number of individual masks by index number.
; see "PropertyBase propertyType attribute" on
m a s k s
PropertyBase object
145
property of a layer
145