SweepGradientPaint
class SweepGradientPaint(colors: List<GradientPaint.Stop>, val center: Point, val rotation: Measure<Angle> = 0 * degrees) : GradientPaint(source)
A Paint based on sweeping a "line" around a center point, through a series of Stops to form what looks like a cone.
Parameters
colors
at stop angles
center
of the cone
rotation
of the starting line
Constructors
Functions
Link copied to clipboard
operator fun Paint?.invoke(target: Target = Foreground, text: () -> AnnotatedString): AnnotatedString