rotate#

Entity.rotate(centre_point, angle)#

Rotate entity around a point for a given angle.

Parameters:
centre_pointCoordinate

Coordinate to rotate line around.

anglefloat

Angle of rotation in degrees. Anticlockwise direction is positive.