append_conic_gradient


Description:

public void append_conic_gradient (Rect bounds, Point center, float rotation, ColorStop[] stops)

Appends a conic gradient node with the given stops to this.

Parameters:

this

a `GtkSnapshot`

bounds

the rectangle to render the gradient into

center

the center point of the conic gradient

rotation

the clockwise rotation in degrees of the starting angle. 0 means the starting angle is the top.

stops

the color stops defining the gradient

n_stops

the number of elements in stops