Shape object

The Shape object encapsulates information describing a shape in a shape layer, or the outline shape of a Mask.It is the value of the Mask Path AE properties

isMask

When true, this property is a mask PropertyGroup.Boolean; read-only.

numProperties

The number of indexed properties in this group.For layers, this method returns a value of 3, corresponding to the mask, effect, and motion tracker groups, w

locked

When true, the mask is locked and cannot be edited in the user interface; otherwise, false.Boolean; read/write.

addProperty()

Creates and returns a PropertyBase object with the specified name, and adds it to this group.In general, you can only add properties to an indexed group a p

color

The color used to draw the mask outline as it appears in the user interface Composition panel, Layer panel, and Timeline panel .Array of three floating-poin

canAddProperty()

Returns true if a property with the given name can be added to this property group. For example, you can only add mask to a mask group. The only legal input

rotoBezier

When true, the mask is a RotoBezier shape; otherwise, false.Boolean; read/write.

PropertyGroup object

The PropertyGroup object represents a group of properties. It can contain Property objects and other PropertyGroup objects. Property groups can be nested to

maskFeatherFalloff

The feather falloff mode for the mask. Equivalent tothe Layer > Mask > Feather Falloff setting.AMaskFeatherFalloff enumerated value; read/write. One of:Mask