<fill>
Apply a stack of paints to the interior or to a span's assigned glyphs.
A fill paints the shape's interior. Under a span it supplies the local stack for glyphs assigned to that span.
Syntax
Place two paints in one fill
The right swatch places translucent teal above opaque navy. Sample around (144, 32) for approximately (50, 121, 145, 255). Move the navy to the top to restore its opaque color.
<fill>
<paint><solid color="#193661FF"/></paint>
<paint><solid color="#4ABCC080"/></paint>
</fill>Complete .nothing source · Sample checks
Usage context
Allowed parents are <shape>, <span>.
A shape has at most one fill. A span's fill replaces its inherited stack for the span's range. Descendant spans can supply their own. Span paint order
Children
| Elements | Cardinality | Declared by | Role and source order |
|---|---|---|---|
<paint> | One or more | <fill> | Paint layers applied through the operation's coverage. Document order, bottom to top. |