SweepGradientPaint
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
constructor(colors: List<GradientPaint.Stop>, center: Point, rotation: Measure<Angle> = 0 * degrees)
Parameters
colors
at stop angles
center
of the cone
rotation
of the starting line