Gsk.ClipNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gsk.ClipNode¶
- Bases:
- Abstract:
No
A render node applying a rectangular clip to its single child node.
- classmethod new(child, clip)¶
- Parameters:
child (
Gsk.RenderNode
) – The node to drawclip (
Graphene.Rect
) – The clip to apply
- Returns:
A new
GskRenderNode
- Return type:
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:
Gets the child node that is getting clipped by the given self.
- get_clip()¶
- Returns:
a clip rectangle
- Return type:
Retrieves the clip rectangle for self.