ClipNode

class ClipNode(*args, **kwargs)

Superclasses: RenderNode

Constructors:

ClipNode(**properties)
new(child:Gsk.RenderNode, clip:Graphene.Rect) -> Gsk.ClipNode

Constructors

class ClipNode
classmethod new(child: RenderNode, clip: Rect) ClipNode

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 ClipNode
get_child() RenderNode

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

get_clip() Rect

Retrieves the clip rectangle for node.