reverse

open override fun reverse(): Bezier2.CubicBezier2(source)

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

Return

a new curve with the reversed direction.