Gsk.ClipNode

g Gsk.ClipNode Gsk.ClipNode Gsk.RenderNode Gsk.RenderNode Gsk.RenderNode->Gsk.ClipNode

Subclasses:

None

Methods

Inherited:

Gsk.RenderNode (8)

class

new (child, clip)

get_child ()

get_clip ()

Virtual Methods

None

Fields

None

Class Details

class Gsk.ClipNode
Bases:

Gsk.RenderNode

Abstract:

No

A render node applying a rectangular clip to its single child node.

classmethod new(child, clip)
Parameters:
Returns:

A new GskRenderNode

Return type:

Gsk.ClipNode

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

get_child()
Returns:

The child that is getting clipped

Return type:

Gsk.RenderNode

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

get_clip()
Returns:

a clip rectangle

Return type:

Graphene.Rect

Retrieves the clip rectangle for self.