<mask>
Limit a drawable's assembled picture with one local source shape.
The nested shape supplies geometry, alpha or luminance coverage. The mask applies once in the owning drawable's coordinates. It occupies no paint slot.
Syntax
Limit a backdrop read to a rectangle
The placement’s geometry mask bounds its effect in placement coordinates. At frame 1, (22, 16) is gray inside the mask and (29, 16) stays black outside it.
<mask type="geometry"><shape><rect anchor-u="0" anchor-v="0" width="12" height="12"/></shape></mask>Complete .nothing source · Sample checks
Usage context
Allowed parents are <shape>, <group>, <sequence>.
Attributes
type
Value geometry, alpha, luminance · Required · Keys Held
Geometry uses the transformed filled region. Alpha uses rendered opacity. Luminance multiplies rendered alpha by weighted straight sRGB brightness.
Children
| Elements | Cardinality | Declared by | Role and source order |
|---|---|---|---|
<shape> | Exactly one | <mask> | A source shape with its own properties and tracks. The source participates only through the selected coverage rule. |
<animate> | Zero or more | Animation | A track targets one keyable property on this owner. For equal first-key times, the later track in document order wins. Evaluating animation tracks |