Skip to content

gradient

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

//tvlib/org.mjdev.tvlib.ui.toolkit/gradient

gradient

[androidJvm]
fun Modifier.gradient(vertical: Boolean, colors: List<Color> = listOf( Color.Transparent, Color.Black, )): Modifier

fun Modifier.gradient(radius: Float, colors: List<Color> = listOf( Color.Transparent, Color.Black ), center: Offset = Offset.Unspecified, tileMode: TileMode = TileMode.Clamp): Modifier

[androidJvm]
inline fun Modifier.gradient(colors: List<Color>, crossinline provider: (Size) -> Brush): Modifier


Deprecated

Use the official ones


Clone this wiki locally