CopyNode#

Added in version 4.22.

class CopyNode(*args, **kwargs)#

Superclasses: RenderNode

A render node that copies the current state of the rendering canvas so a PasteNode can draw it.

Constructors#

class CopyNode
classmethod new(child: RenderNode) CopyNode#

Creates a GskRenderNode that copies the current rendering canvas for playback by paste nodes that are part of the child.

Added in version 4.22.

Parameters:

child – The child

Methods#

class CopyNode
get_child() RenderNode#

Gets the child node that is getting drawn by the given node.

Added in version 4.22.