RepeatNode
- class RepeatNode(*args, **kwargs)
Superclasses: RenderNode
- Constructors:
RepeatNode(**properties)
new(bounds:Graphene.Rect, child:Gsk.RenderNode, child_bounds:Graphene.Rect=None) -> Gsk.RepeatNode
Constructors
- class RepeatNode
- classmethod new(bounds: Rect, child: RenderNode, child_bounds: Rect | None = None) RepeatNode
Creates a
GskRenderNode
that will repeat the drawing ofchild
across the givenbounds
.- Parameters:
bounds – The bounds of the area to be painted
child – The child to repeat
child_bounds – The area of the child to repeat or
None
to use the child’s bounds
Methods
- class RepeatNode
- get_child() RenderNode
Retrieves the child of
node
.