:right-sidebar: True RepeatNode =================================================================== .. currentmodule:: gi.repository.Gsk .. class:: RepeatNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` A render node repeating its single child node. Constructors ------------ .. rst-class:: interim-class .. class:: RepeatNode :no-index: .. classmethod:: new(bounds: ~gi.repository.Graphene.Rect, child: ~gi.repository.Gsk.RenderNode, child_bounds: ~gi.repository.Graphene.Rect | None = None) -> ~gi.repository.Gsk.RepeatNode Creates a ``GskRenderNode`` that will repeat the drawing of ``child`` across the given ``bounds``\. :param bounds: The bounds of the area to be painted :param child: The child to repeat :param child_bounds: The area of the child to repeat or :const:`None` to use the child's bounds Methods ------- .. rst-class:: interim-class .. class:: RepeatNode :no-index: .. method:: get_child() -> ~gi.repository.Gsk.RenderNode Retrieves the child of ``node``\. .. method:: get_child_bounds() -> ~gi.repository.Graphene.Rect Retrieves the bounding rectangle of the child of ``node``\.