Skip to content
milan jurkulák edited this page May 2, 2024 · 1 revision

//tvlib/org.mjdev.tvlib.ui.toolkit/lerp

lerp

[androidJvm]
fun lerp(startValue: Float, endValue: Float, @FloatRange(from = 0.0, to = 1.0)fraction: Float): Float

fun lerp(startValue: Float, endValue: Float, @FloatRange(from = 0.0, to = 1.0)startFraction: Float, @FloatRange(from = 0.0, to = 1.0)endFraction: Float, @FloatRange(from = 0.0, to = 1.0)fraction: Float): Float

fun lerp(startColor: Color, endColor: Color, @FloatRange(from = 0.0, to = 1.0)startFraction: Float, @FloatRange(from = 0.0, to = 1.0)endFraction: Float, @FloatRange(from = 0.0, to = 1.0)fraction: Float): Color

Clone this wiki locally