Skip to content

image any

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

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

ImageAny

[androidJvm]\

@Composable

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 ) })

Clone this wiki locally