Gsk.RepeatNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gsk.RepeatNode¶
- Bases:
- Abstract:
No
A render node repeating its single child node.
- classmethod new(bounds, child, child_bounds)¶
- Parameters:
bounds (
Graphene.Rect) – The bounds of the area to be paintedchild (
Gsk.RenderNode) – The child to repeatchild_bounds (
Graphene.RectorNone) – The area of the child to repeat orNoneto use the child’s bounds
- Returns:
A new
GskRenderNode- Return type:
Creates a
GskRenderNodethat will repeat the drawing of child across the given bounds.
- get_child()¶
- Returns:
a
GskRenderNode- Return type:
Retrieves the child of self.
- get_child_bounds()¶
- Returns:
a bounding rectangle
- Return type:
Retrieves the bounding rectangle of the child of self.