PasteNode#

Added in version 4.22.

class PasteNode(*args, **kwargs)#

Superclasses: RenderNode

A render node for a paste.

Constructors#

class PasteNode
classmethod new(bounds: Rect, depth: int) PasteNode#

Creates a GskRenderNode that will paste copied contents.

Added in version 4.22.

Parameters:
  • bounds – the rectangle to render the paste into

  • depth – the index of which copy to paste. This will usually be 0.

Methods#

class PasteNode
get_depth() int#

Retrieves the index of the copy that should be pasted.

Added in version 4.22.