RadialGradientPaint

class RadialGradientPaint(val colors: List<GradientPaint.Stop>, val start: Circle, val end: Circle) : GradientPaint

A radial gradient Paint that transitions between a list of Stops.

Parameters

colors

at stop points

start

circle from which the gradient flows

end

circle that the gradient stops at

Constructors

Link copied to clipboard
constructor(color1: Color, color2: Color, start: Circle, end: Circle)

Creates a fill with a gradient between the given colors.

constructor(colors: List<GradientPaint.Stop>, start: Circle, end: Circle)

Properties

Link copied to clipboard
val end: Circle

circle that the gradient stops at

Link copied to clipboard

circle from which the gradient flows

Inherited properties

Link copied to clipboard

at stop points along the transition

Link copied to clipboard
open override val visible: Boolean

true IFF any one of colors is visible

Inherited functions

Link copied to clipboard
operator fun Paint?.invoke(target: Target = Foreground, text: () -> StyledText): StyledText
operator fun Paint?.invoke(text: String, target: Target = Foreground): StyledText