MaskPropertyGroup
Properties
true when the layer's video is active at the current time (enabled, not overridden by another soloed layer, and within inPoint/outPoint). Never true for an audio layer. For an effect or property, same as enabled but read-only.true if the enabled attribute value can be set. Generally true if the UI shows an eyeball icon for this property; always true for layers.[R, G, B] in the range [0.0..1.0].true if this property is an organizational group not shown in the UI, whose children are not indented in the Timeline panel.true, the mask is inverted.true if this property is an effect PropertyGroup.true if this property is a mask PropertyGroup.true if this property has changed since it was created.true, the mask is locked and cannot be edited in the UI.MaskFeatherFalloff.FFO_LINEAR, MaskFeatherFalloff.FFO_SMOOTH.MaskMode.NONE, ADD, SUBTRACT, INTERSECT, LIGHTEN, DARKEN, DIFFERENCE.MaskMotionBlur.SAME_AS_LAYER, ON, OFF.name, it doesn't change across versions.isNameSet is false). For an effect or property, its display name; settable only for children of an indexed group.property().null if this is a layer.0 for a layer.PropertyType.PROPERTY, PropertyType.INDEXED_GROUP, or PropertyType.NAMED_GROUP.true, the mask is a RotoBezier shape.true if this property is selected in the UI.Instance Methods
addProperty
Returns: PropertyGroup
Since: 27.0
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 property group that has the type PropertyType.INDEXED_GROUP). The only exception is a text animator property, which can be added to a named group (type PropertyType.NAMED_GROUP). If this method cannot create a property with the specified name, it generates an exception. To check that you can add a particular property to this group, call canAddProperty before calling this method. Warning: when you add a new property to an indexed group, the indexed group gets recreated from scratch, invalidating all existing references to properties. One workaround is to store the index of the added property with propertyIndex.
Parameters
addToMotionGraphicsTemplate
Returns: boolean
Since: 27.0
Adds this property to the Essential Graphics panel for the specified composition. true on success. Use canAddToMotionGraphicsTemplate to check eligibility first.
Parameters
addToMotionGraphicsTemplateAs
Returns: boolean
Since: 27.0
Same as addToMotionGraphicsTemplate, but lets you give the EGP property a custom name.
Parameters
addVariableFontAxis
Returns: Property
Since: 27.0
Creates and returns a Property object for a variable font axis, and adds it to this property group. This method can only be called on the "ADBE Text Animator Properties" property group within a text animator. Common axis tags include (but are not limited to): "wght" - Weight (100-900 typical range), "wdth" - Width (percentage of normal width), "slnt" - Slant (angle in degrees), "ital" - Italic (0-1 range), "opsz" - Optical Size (point size). Fonts may also include custom axes with 4-character uppercase tags (e.g., "INFM" for Informality).
Parameters
canAddProperty
Returns: boolean
Since: 27.0
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 arguments are "mask" or "ADBE Mask Atom".
Parameters
canAddToMotionGraphicsTemplate
Returns: boolean
Since: 27.0
Tests whether this property can be added to the Essential Graphics panel for the specified composition. Supported types: Checkbox, Color, Numerical Slider, Source Text.
Parameters
duplicate
Returns: MaskPropertyGroup
Since: 27.0
If a child of an indexed group, creates and returns a copy of this property group with the same values. Throws otherwise.
moveTo
Returns: boolean
Since: 27.0
Moves this property to a new index in its parent group. Only valid for children of indexed groups; invalidates existing sibling references.
Parameters
property
Returns: Property | PropertyGroup
Since: 27.0
Finds and returns a child property of this group, as specified by either its index or name. A name specification can use the same syntax that is available with expressions. mylayer.position, mylayer("position"), mylayer.property("position"), mylayer(1), and mylayer.property(1) are all equivalent. Some properties of a layer, such as position and zoom, can be accessed only by name. When using the name to find a property that is multiple levels down, you must make more than one call to this method - for example, myLayer.property("ADBE Masks").property(1) searches two levels down.
Parameters
propertyGroup
Returns: PropertyGroup
Since: 27.0
Gets the ancestor PropertyGroup at a specified level up the parent-child hierarchy (default: immediate parent). Returns the Layer if the count reaches the containing layer.
Parameters
remove
Returns: boolean
Since: 27.0
Removes this property (and any children) from its parent group. Only valid for children of indexed groups; can be called on a text animator.