:right-sidebar: True BlendNode =================================================================== .. currentmodule:: gi.repository.Gsk .. class:: BlendNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` A render node applying a blending function between its two child nodes. Constructors ------------ .. rst-class:: interim-class .. class:: BlendNode :no-index: .. classmethod:: new(bottom: ~gi.repository.Gsk.RenderNode, top: ~gi.repository.Gsk.RenderNode, blend_mode: ~gi.repository.Gsk.BlendMode) -> ~gi.repository.Gsk.BlendNode Creates a ``GskRenderNode`` that will use ``blend_mode`` to blend the ``top`` node onto the ``bottom`` node. :param bottom: The bottom node to be drawn :param top: The node to be blended onto the ``bottom`` node :param blend_mode: The blend mode to use Methods ------- .. rst-class:: interim-class .. class:: BlendNode :no-index: .. method:: get_blend_mode() -> ~gi.repository.Gsk.BlendMode Retrieves the blend mode used by ``node``\. .. method:: get_bottom_child() -> ~gi.repository.Gsk.RenderNode Retrieves the bottom ``GskRenderNode`` child of the ``node``\. .. method:: get_top_child() -> ~gi.repository.Gsk.RenderNode Retrieves the top ``GskRenderNode`` child of the ``node``\.