rotate()
Turn the object by an additional angle.
line.rotate(angle)
The angle is added to the object's current rotation.
Parameters
line.rotate(angle)
| Parameter | Type | Default | Description |
|---|---|---|---|
angle |
int or float |
required | How far to turn, in degrees, counter-clockwise. |