:right-sidebar: True StrokeNode =================================================================== .. currentmodule:: gi.repository.Gsk .. versionadded:: 4.14 .. class:: StrokeNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` A render node that will fill the area determined by stroking the the given :obj:`~gi.repository.Gsk.Path` using the :obj:`~gi.repository.Gsk.Stroke` attributes. Constructors ------------ .. rst-class:: interim-class .. class:: StrokeNode :no-index: .. classmethod:: new(child: ~gi.repository.Gsk.RenderNode, path: ~gi.repository.Gsk.Path, stroke: ~gi.repository.Gsk.Stroke) -> ~gi.repository.Gsk.StrokeNode Creates a :obj:`~gi.repository.Gsk.RenderNode` that will fill the outline generated by stroking the given ``path`` using the attributes defined in ``stroke``\. The area is filled with ``child``\. .. versionadded:: 4.14 :param child: The node to stroke the area with :param path: The path describing the area to stroke :param stroke: The stroke attributes to use Methods ------- .. rst-class:: interim-class .. class:: StrokeNode :no-index: .. method:: get_child() -> ~gi.repository.Gsk.RenderNode Gets the child node that is getting drawn by the given ``node``\. .. versionadded:: 4.14 .. method:: get_path() -> ~gi.repository.Gsk.Path Retrieves the path that will be stroked with the contents of the ``node``\. .. versionadded:: 4.14 .. method:: get_stroke() -> ~gi.repository.Gsk.Stroke Retrieves the stroke attributes used in this ``node``\. .. versionadded:: 4.14