-
Notifications
You must be signed in to change notification settings - Fork 0
image any
milan jurkulák edited this page May 2, 2024
·
1 revision
//tvlib/org.mjdev.tvlib.ui.components.image/ImageAny
[androidJvm]\
fun ImageAny(modifier: Modifier = Modifier, src: Any? = null, contentDescription: String? = null, alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Fit, alpha: Float = DefaultAlpha, tint: Color? = null, colorFilter: ColorFilter? = tint?.let { ColorFilter.tint(it) }, placeholder: @Composable() -> Unit = { Image( painterResource(R.drawable.broken_image), contentDescription, modifier, alignment, contentScale, alpha, colorFilter ) })