:right-sidebar: True CrossFadeNode =================================================================== .. currentmodule:: gi.repository.Gsk .. class:: CrossFadeNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` A render node cross fading between two child nodes. Constructors ------------ .. rst-class:: interim-class .. class:: CrossFadeNode :no-index: .. classmethod:: new(start: ~gi.repository.Gsk.RenderNode, end: ~gi.repository.Gsk.RenderNode, progress: float) -> ~gi.repository.Gsk.CrossFadeNode Creates a ``GskRenderNode`` that will do a cross-fade between ``start`` and ``end``\. :param start: The start node to be drawn :param end: The node to be cross_fadeed onto the ``start`` node :param progress: How far the fade has progressed from start to end. The value will be clamped to the range [0 ... 1] Methods ------- .. rst-class:: interim-class .. class:: CrossFadeNode :no-index: .. method:: get_end_child() -> ~gi.repository.Gsk.RenderNode Retrieves the child ``GskRenderNode`` at the end of the cross-fade. .. method:: get_progress() -> float Retrieves the progress value of the cross fade. .. method:: get_start_child() -> ~gi.repository.Gsk.RenderNode Retrieves the child ``GskRenderNode`` at the beginning of the cross-fade.