Destructuring seems realy nice when doing stuff wi...
# getting-started
d
Destructuring seems realy nice when doing stuff with coordinates. Kotlin has such nice features.
Copy code
val (x1, y1) = Pair(..., ...)
        val (x2, y2) = Pair(..., ...)
        val (x3, y3) = Pair(..., ....)

        path.cubicTo(x1, y1, x2, y2, x3, y3)
K 1