rotate#
- Line.rotate(centre_point, angle)#
Rotate entity around a point for a given angle.
- Parameters:
- centre_point
Coordinate
Coordinate to rotate line around.
- angle
float
Angle of rotation in degrees. Anticlockwise direction is positive.
- centre_point