Sweep

data class Sweep(val centerX: Float, val centerY: Float, val stops: List<Paint.Gradient.Stop>) : Paint.Gradient

Constructors

Link copied to clipboard
constructor(centerX: Float, centerY: Float, vararg stops: Paint.Gradient.Stop)
constructor(centerX: Float, centerY: Float, stops: List<Paint.Gradient.Stop>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val stops: List<Paint.Gradient.Stop>

Functions

Link copied to clipboard
fun Paint.toAndroid(context: Context): Paint

Converts a Krayon Paint into an AndroidPaint.