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

Kshitij Patil

11/02/2020, 7:54 AM
what's the difference between
canvas.drawLine
and
canvas.drawPath
? when to use one over the other?
a

Alexjlockwood

11/02/2020, 2:09 PM
Use canvas.drawPath when you need to draw a path (may not necessarily be a line, bit could be a curve for example)
👍 1
k

Kshitij Patil

11/02/2020, 2:22 PM
Okay, Thanks!