Reverses the direction of the curve, swapping its start and end points.
a new curve with the reversed direction.