Rotation of a segment

Rotation of a segment using a slider.

Where will the segment be after a rotation of 90 degrees clockwise? How will the segment be oriented?