Skip to content

rotate()

Turn the object by an additional angle.

oval.rotate(angle)

The angle is added to the object's current rotation.

Parameters

oval.rotate(angle)
Parameter Type Default Description
angle int or float required How far to turn, in degrees, counter-clockwise.