pub enum Fill {
None,
Solid(Color),
Gradient(GradientFill),
Pattern(PatternFill),
Image(BlipFill),
}Expand description
How a shape’s (or a line’s) interior is painted (EG_FillProperties).
Not modeled: <a:grpFill> (inherit the parent group’s fill — only meaningful for a shape inside
a group, which this crate doesn’t model).
Variants§
None
<a:noFill/> — an explicitly transparent interior (distinct from None at the Rust level
on ShapeProperties::fill, which means “inherit from the host’s shape defaults” instead).
Solid(Color)
<a:solidFill> — a single flat color.
Gradient(GradientFill)
<a:gradFill> — a multi-stop gradient.
Pattern(PatternFill)
<a:pattFill> — a two-color repeating pattern.
Image(BlipFill)
<a:blipFill> — an image fill. The same CT_BlipFillProperties type also appears, always
present rather than optional, as <pic:pic>’s own dedicated fill (dml-picture.xsd’s
CT_Picture, alongside spPr — a real picture shape, not just a shape textured with an
image) — see BlipFill’s doc comment.