Companion

object Companion

Functions

Link copied to clipboard
@JvmName(name = "fromColors")
operator fun invoke(colors: List<KalugaColor>, centerPoint: GradientStyle.CenterPoint = CenterPoint(0.5f, 0.5f)): GradientStyle.Angular

Creates an Angular gradient style using a list of KalugaColor and a CenterPoint

@JvmName(name = "fromColorPoints")
operator fun invoke(colorPoints: List<GradientStyle.ColorPoint>, centerPoint: GradientStyle.CenterPoint = CenterPoint(0.5f, 0.5f)): GradientStyle.Angular

Creates an Angular gradient style using a list of ColorPoint and a CenterPoint