https://kotlinlang.org logo
#compose
Title
# compose
j

Joseph D

03/08/2021, 11:46 PM
why doesn't drawArc have the cap parameter? I need to round the line I draw.
a

Albert Chang

03/09/2021, 12:02 AM
You can set it by specifying
style = Stroke(width = width, cap = StrokeCap.Round)
.
j

Joseph D

03/09/2021, 1:03 PM
oh, it makes sense. thanks Albert.