SweepGradientPaint
constructor(colors: List<GradientPaint.Stop>, center: Point, rotation: Measure<Angle> = 0 * degrees)(source)
Parameters
colors
at stop angles
center
of the cone
rotation
of the starting line
constructor(color1: Color, color2: Color, center: Point, rotation: Measure<Angle> = 0 * degrees)(source)
Creates a conic with a gradient between the given colors.
Parameters
color1
at the start angle
color2
at the end of the sweep
center
of the cone
rotation
of the start angle