append_repeating_linear_gradient


Description:

public void append_repeating_linear_gradient (Rect bounds, Point start_point, Point end_point, ColorStop[] stops)

Appends a repeating linear gradient node with the given stops to this.

Parameters:

this

a `GtkSnapshot`

bounds

the rectangle to render the linear gradient into

start_point

the point at which the linear gradient will begin

end_point

the point at which the linear gradient will finish

stops

the color stops defining the gradient

n_stops

the number of elements in stops