ShadowNode#
- class ShadowNode(*args, **kwargs)#
Superclasses: RenderNode
A render node drawing one or more shadows behind its single child node.
Constructors#
- class ShadowNode
- classmethod new(child: RenderNode, shadows: list[Shadow]) ShadowNode #
Creates a
GskRenderNode
that will draw achild
with the givenshadows
below it.- Parameters:
child – The node to draw
shadows – The shadows to apply