Colton Idle
03/17/2021, 10:45 AMborder()
modifier to just draw on the bottom? Right now it's drawing a rectangle, but I'd love to tell it to just draw on bottom.Vadim
03/17/2021, 12:20 PM.border(
width = 1.dp,
color = myColor,
shape = GenericShape { size, _ ->
moveTo(0f, size.height)
lineTo(size.width, size.height)
}
)
Nader Jawad
03/17/2021, 2:29 PMModifier.drawWithContent
API and call drawContent them drawLine which would be more efficient and avoid path operations