Colton Idle
08/15/2022, 3:42 PMephemient
08/15/2022, 3:52 PMImage(
colorFilter = ColorFilter(
ColorMatrix(
floatArrayOf(
1f, 0f, 0f, 0f, 0f,
0f, 1f, 0f, 0f, 0f,
0f, 0f, 1f, 0f, 0f,
0f, 0f, 0f, 2f, 0f,
)
)
)
)
Colton Idle
08/15/2022, 4:57 PMcolorFilter = ColorFilter.colorMatrix(
ColorMatrix(
floatArrayOf(
1f, 0f, 0f, 0f, 0f,
0f, 1f, 0f, 0f, 0f,
0f, 0f, 1f, 0f, 0f,
0f, 0f, 0f, 2f, 0f,
)
)
)
ephemient
08/15/2022, 5:17 PMColton Idle
08/15/2022, 5:18 PMephemient
08/15/2022, 5:19 PMColton Idle
08/15/2022, 5:21 PMephemient
08/15/2022, 5:23 PMColton Idle
08/15/2022, 5:26 PMBox(
modifier =
modifier
.fillMaxWidth()
.height(IntrinsicSize.Min)
.border(4.dp, Color.Magenta, RoundedCornerShape(20.dp))
.background(Color.Green, RoundedCornerShape(20.dp))
) {
AsyncImage(
model = ImageRequest.Builder(LocalContext.current).data("<https://i.imgur.com/VZrnePC.png>")
.crossfade(true).build(),
contentDescription = null,
contentScale = ContentScale.FillHeight,
modifier = Modifier
.height(100.dp)
.fillMaxWidth()
.align(TopCenter)
.offset(y = (-44).dp),
)
}