GradientPaint

protected constructor(colors: List<GradientPaint.Stop>)(source)

Parameters

colors

at stop points


protected constructor(color1: Color, color2: Color)(source)

Creates a fill with a gradient between the given colors.

Parameters

color1

associated with the start point

color2

associated with the end point