reverse

open override fun reverse(): Line2(source)

Reverses the direction of the curve, swapping its start and end points.

Return

a new curve with the reversed direction.