Snapshot.appendConicGradient

Appends a conic gradient node with the given stops to @snapshot.

class Snapshot
void
appendConicGradient

Parameters

bounds Rect

the rectangle to render the gradient into

center Point

the center point of the conic gradient

rotation float

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

stops GskColorStop[]

a pointer to an array of GskColorStop defining the gradient

Meta