rotateBy
Rotates the LineSegment around a point on the segment.
Parameters
degrees
The rotation in degrees.
t
The t value of the point on the segment to rotate around, default is 0.5 (mid-point).
Rotates the LineSegment around a point on the segment.
The rotation in degrees.
The t value of the point on the segment to rotate around, default is 0.5 (mid-point).