-
Notifications
You must be signed in to change notification settings - Fork 0
photo image
//tvlib/org.mjdev.tvlib.ui.components.image/PhotoImage
[androidJvm]\
fun PhotoImage(src: Any? = null, modifier: Modifier = Modifier, alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Crop, placeholder: @Composable() -> Unit = { ImageAny( modifier = modifier, src = R.drawable.broken_image, contentScale = contentScale ) }, alpha: Float = DefaultAlpha, @FloatRange(from = 0.0, to = 10.0)contrast: Float = 5.0f, @FloatRange(from = -255.0, to = 255.0)brightness: Float = -255f, borderSize: Dp = 2.dp, borderColor: Color = Color.Black, backgroundColor: Color = Color.Black, roundCornerSize: Dp = 8.dp, shape: Shape = RoundedCornerShape(roundCornerSize), colorFilter: ColorFilter? = null, contentDescription: String? = null, onImageStateChanged: (state: GlideImageState) -> Unit? = null)