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
GskRenderNodethat will draw achildwith the givenshadowsbelow it.- Parameters:
child – The node to draw
shadows – The shadows to apply