Snapshot.appendRepeatingLinearGradient

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

class Snapshot
void
appendRepeatingLinearGradient

Parameters

bounds Rect

the rectangle to render the linear gradient into

startPoint Point

the point at which the linear gradient will begin

endPoint Point

the point at which the linear gradient will finish

stops GskColorStop[]

a pointer to an array of GskColorStop defining the gradient

Meta