ClipNode#
- class ClipNode(*args, **kwargs)#
Superclasses: RenderNode
A render node applying a rectangular clip to its single child node.
Constructors#
- class ClipNode
- classmethod new(child: RenderNode, clip: Rect) ClipNode #
Creates a
GskRenderNode
that will clip thechild
to the area given byclip
.- Parameters:
child – The node to draw
clip – The clip to apply
Methods#
- class ClipNode
- get_child() RenderNode #
Gets the child node that is getting clipped by the given
node
.