mgrazianodecastro
03/28/2023, 10:11 PMBox(modifier = Modifier.size(cardWidth, cardHeight)){
Image(
// ..
contentScale = ContentScale.Crop,
modifier = Modifier.alpha(0.99f).graphicsLayer {
scaleX = someScale
scaleY = someScale
}
)
}
without the alpha, the whole scaled image is painted, beyond the box sizeephemient
03/28/2023, 10:52 PMephemient
03/28/2023, 10:55 PMephemient
03/28/2023, 11:02 PMmgrazianodecastro
03/28/2023, 11:22 PMmgrazianodecastro
03/28/2023, 11:22 PM