append_linear_gradient


Description:

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

Appends a 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