maskpropertygroup
MaskPropertyGroup object
Section titled “MaskPropertyGroup object”app.project.item(index).layer(index).mask
Description
Section titled “Description”The MaskPropertyGroup object encapsulates mask attributes in a layer.
MaskPropertyGroup is a subclass of PropertyGroup object. All methods and attributes of PropertyBase object and PropertyGroup, in addition to those listed below, are available when working with MaskPropertyGroup.
Attributes
Section titled “Attributes”MaskPropertyGroup.color
Section titled “MaskPropertyGroup.color”app.project.item(index).layer(index).mask(index).color
Description
Section titled “Description”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-point values, [R, G, B]
, in the range [0.0..1.0]
; read/write.
MaskPropertyGroup.inverted
Section titled “MaskPropertyGroup.inverted”app.project.item(index).layer(index).mask(index).inverted
Description
Section titled “Description”When true
, the mask is inverted; otherwise false
.
Boolean; read/write.
MaskPropertyGroup.locked
Section titled “MaskPropertyGroup.locked”app.project.item(index).layer(index).mask(index).locked
Description
Section titled “Description”When true
, the mask is locked and cannot be edited in the user interface; otherwise false
.
Boolean; read/write.
MaskPropertyGroup.maskFeatherFalloff
Section titled “MaskPropertyGroup.maskFeatherFalloff”app.project.item(index).layer(index).mask(index).maskFeatherFalloff
Description
Section titled “Description”The feather falloff mode for the mask. Equivalent to the Layer > Mask > Feather Falloff setting.
A MaskFeatherFalloff
enumerated value; read/write. One of:
MaskFeatherFalloff.FFO_LINEAR
MaskFeatherFalloff.FFO_SMOOTH
MaskPropertyGroup.maskMode
Section titled “MaskPropertyGroup.maskMode”app.project.item(index).layer(index).mask(index).maskMode
Description
Section titled “Description”The masking mode for this mask.
A MaskMode
enumerated value; read/write. One of:
MaskMode.NONE
MaskMode.ADD
MaskMode.SUBTRACT
MaskMode.INTERSECT
MaskMode.LIGHTEN
MaskMode.DARKEN
MaskMode.DIFFERENCE
MaskPropertyGroup.maskMotionBlur
Section titled “MaskPropertyGroup.maskMotionBlur”app.project.item(index).layer(index).mask(index).maskMotionBlur
Description
Section titled “Description”How motion blur is applied to this mask.
A MakMotionBlur
enumerated value; read/write. One of:
MaskMotionBlur.SAME_AS_LAYER
MaskMotionBlur.ON
MaskMotionBlur.OFF
MaskPropertyGroup.rotoBezier
Section titled “MaskPropertyGroup.rotoBezier”app.project.item(index).layer(index).mask(index).rotoBezier
Description
Section titled “Description”When true
, the mask is a RotoBezier shape; otherwise false
.
Boolean; read/write.