It derives from <GskRenderNode>.
A render node for a linear gradient.
Retrieves the color stops in the gradient.
Passed: a <GskLinearGradientNode>.
a <GskRenderNode> for a linear gradient
Returned: a vector, each a <GskColorStop>.
the color stops in the gradient
Not returned: it is the length of %return.
the number of color stops in the returned array
Retrieves the final point of the linear gradient.
Passed: a <GskLinearGradientNode>.
a <GskRenderNode> for a linear gradient
Returned: a <GraphenePoint>.
the final point
Retrieves the number of color stops in the gradient.
Passed: a <GskLinearGradientNode>.
a <GskRenderNode> for a linear gradient
Returned: an unsigned 64-bit integer.
the number of color stops
Retrieves the initial point of the linear gradient.
Passed: a <GskLinearGradientNode>.
a <GskRenderNode> for a linear gradient
Returned: a <GraphenePoint>.
the initial point
Creates a <GskRenderNode> that will create a
linear gradient from the given points and color stops, and render that
into the area given by bounds.
Passed: a <GrapheneRect>.
the rectangle to render the linear gradient into
Passed: a <GraphenePoint>.
the point at which the linear gradient will begin
Passed: a <GraphenePoint>.
the point at which the linear gradient will finish
Passed: a list or vector, each a <GskColorStop>.
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.
Returned: a <GskLinearGradientNode>.
A new <GskRenderNode>
Not passed: guile-gi gives the length of color-stops.
the number of elements in color-stops