RepeatNode
- class RepeatNode(*args, **kwargs)
Superclasses: RenderNode
A render node repeating its single child node.
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
.