The Mask type represents different ways to mask a display object.
A number represents a mask ID.
A Container represents a mask object, such as a Graphics or Sprite.
null indicates that no mask is applied.
Example
// Using a Container as a mask constmaskContainer:Mask=newGraphics(); // Using a mask ID constmaskId:Mask=123; // No mask applied constnoMask:Mask=null;
The Mask type represents different ways to mask a display object.