mask
thisLayer.mask("Mask 1")
This category contains information relating to mask objects. To manipulate the actual mask path, see Mask Path.
On this page, we’re going to use thisLayer.mask("Mask 1")
as a sample on how to call these items, however note that any method that returns a Mask will work.
Attributes
Section titled “Attributes”Mask.invert
Section titled “Mask.invert”thisLayer.mask("Mask 1").invert
Description
Section titled “Description”Returns true
if the mask is inverted or false
if it is not.
Boolean
Mask.maskExpansion
Section titled “Mask.maskExpansion”thisLayer.mask("Mask 1").maskExpansion
Description
Section titled “Description”Returns the expansion value of a mask, in pixels.
Number
Mask.maskFeather
Section titled “Mask.maskFeather”thisLayer.mask("Mask 1").maskFeather
Description
Section titled “Description”Returns the feather value of a mask, in pixels.
Number
Mask.maskOpacity
Section titled “Mask.maskOpacity”thisLayer.mask("Mask 1").maskOpacity
Description
Section titled “Description”Returns the opacity value of a mask as a percentage.
Number
Mask.maskPath
Section titled “Mask.maskPath”thisLayer.mask("Mask 1").maskPath
Description
Section titled “Description”Returns the actual mask Path.