LinearGradientPaint
class LinearGradientPaint(colors: List<GradientPaint.Stop>, val start: Point, val end: Point) : GradientPaint(source)
A linear gradient Paint that transitions between a list of Stops.
Created by Nicholas Eddy on 11/5/18.
Parameters
colors
at stop points
start
of the line along which the gradient flows
end
of the line along which the gradient flows
Functions
Link copied to clipboard
operator fun Paint?.invoke(target: Target = Foreground, text: () -> AnnotatedString): AnnotatedString