Companion
object Companion
Functions
Link copied to clipboard
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
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