Skip to content

fading photo image

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

//tvlib/org.mjdev.tvlib.ui.components.image/FadingPhotoImage

FadingPhotoImage

[androidJvm]\

@Composable

fun FadingPhotoImage(modifier: Modifier = Modifier, initialImage: Any? = null, animationDuration: Int = 1800, delay: Long = 600, alpha: Float = 0.6f, blurRadius: Dp = 24.dp, @FloatRange(from = 0.0, to = 10.0)contrast: Float = 4.0f, @FloatRange(from = -255.0, to = 255.0)brightness: Float = -255f, contentScale: ContentScale = ContentScale.Crop, placeholder: @Composable() -> Unit = {}, borderSize: Dp = 0.dp, borderColor: Color = Color.Transparent, roundCornerSize: Dp = 0.dp, shape: Shape = RoundedCornerShape(roundCornerSize), colorFilter: ColorFilter? = null, contentDescription: String? = null, alignment: Alignment = Alignment.Center, fadingImageState: MutableState<Any?> = remember { mutableStateOf(initialImage) })

Clone this wiki locally