rotate#

Line.rotate(centre_point, angle)#

Rotate line around a point for a given angle.

Parameters:
centre_pointCoordinate

Coordinate to rotate line around.

anglefloat

Angle of rotation in degrees.

Returns:
Line