RadialGradientPaint

constructor(color1: Color, color2: Color, start: Circle, end: Circle)

Creates a fill with a gradient between the given colors.

Parameters

color1

associated with the start point

color2

associated with the end point

start

circle from which the gradient flows

end

circle that the gradient stops at


constructor(colors: List<GradientPaint.Stop>, start: Circle, end: Circle)

Parameters

colors

at stop points

start

circle from which the gradient flows

end

circle that the gradient stops at