Shadow
Draws a shadow for a path representing the given material elevation.
Note
The transparent_occluder argument should
be True if the occluding object is not opaque.
Inherits: canvas.Shape
Properties
color- The shadow's color.elevation- The shadow's elevation.path- The list of elements describing the path of this shape.transparent_occluder- Whether the occluding object is transparent (not opaque).
Properties
pathclass-attributeinstance-attribute
path: list[Path.PathElement] = field(default_factory=list)The list of elements describing the path of this shape.
transparent_occluderclass-attributeinstance-attribute
transparent_occluder: bool = FalseWhether the occluding object is transparent (not opaque).