RoundedClipNode

class RoundedClipNode(*args, **kwargs)

Superclasses: RenderNode

Constructors:

RoundedClipNode(**properties)
new(child:Gsk.RenderNode, clip:Gsk.RoundedRect) -> Gsk.RoundedClipNode

Constructors

class RoundedClipNode
classmethod new(child: RenderNode, clip: RoundedRect) RoundedClipNode

Creates a GskRenderNode that will clip the child to the area given by clip.

Parameters:
  • child – The node to draw

  • clip – The clip to apply

Methods

class RoundedClipNode
get_child() RenderNode

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

get_clip() RoundedRect

Retrieves the rounded rectangle used to clip the contents of the node.