OptionalchannelWhich channel of the mask texture to use for masking.
'red' uses the red channel (default). Suitable for grayscale mask textures.'alpha' uses the alpha channel. Suitable for sprites with transparency.Whether the mask should be inverted. When true, the masked area becomes transparent and the unmasked area becomes visible.
The mask to apply, which can be a Container or null.
If null, it clears the existing mask.
MaskOptionsAndMask combines MaskOptions with a Mask for configuring masking behavior. Used when setting up complex masking effects with additional options.
Example
See