:right-sidebar: True RepeatingLinearGradientNode =================================================================== .. currentmodule:: gi.repository.Gsk .. class:: RepeatingLinearGradientNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` A render node for a repeating linear gradient. Constructors ------------ .. rst-class:: interim-class .. class:: RepeatingLinearGradientNode :no-index: .. classmethod:: new(bounds: ~gi.repository.Graphene.Rect, start: ~gi.repository.Graphene.Point, end: ~gi.repository.Graphene.Point, color_stops: list[~gi.repository.Gsk.ColorStop]) -> ~gi.repository.Gsk.RepeatingLinearGradientNode Creates a ``GskRenderNode`` that will create a repeating linear gradient from the given points and color stops, and render that into the area given by ``bounds``\. :param bounds: the rectangle to render the linear gradient into :param start: the point at which the linear gradient will begin :param end: the point at which the linear gradient will finish :param color_stops: a pointer to an array of ``GskColorStop`` defining the gradient. The offsets of all color stops must be increasing. The first stop's offset must be >= 0 and the last stop's offset must be <= 1.