Snapshot.appendRepeatingRadialGradient

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

class Snapshot
void
appendRepeatingRadialGradient

Parameters

bounds Rect

the rectangle to render the readial gradient into

center Point

the center point for the radial gradient

hradius float

the horizontal radius

vradius float

the vertical radius

start float

the start position (on the horizontal axis)

end float

the end position (on the horizontal axis)

stops GskColorStop[]

a pointer to an array of GskColorStop defining the gradient

Meta