:right-sidebar: True RoundedClipNode =================================================================== .. currentmodule:: gi.repository.Gsk .. class:: RoundedClipNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` A render node applying a rounded rectangle clip to its single child. Constructors ------------ .. rst-class:: interim-class .. class:: RoundedClipNode :no-index: .. classmethod:: new(child: ~gi.repository.Gsk.RenderNode, clip: ~gi.repository.Gsk.RoundedRect) -> ~gi.repository.Gsk.RoundedClipNode Creates a ``GskRenderNode`` that will clip the ``child`` to the area given by ``clip``\. :param child: The node to draw :param clip: The clip to apply Methods ------- .. rst-class:: interim-class .. class:: RoundedClipNode :no-index: .. method:: get_child() -> ~gi.repository.Gsk.RenderNode Gets the child node that is getting clipped by the given ``node``\. .. method:: get_clip() -> ~gi.repository.Gsk.RoundedRect Retrieves the rounded rectangle used to clip the contents of the ``node``\.