new RotationControlTool(paperScope, rotationOverlay)
Creates an instance of the RotationControlTool.
Parameters:
Name | Type | Description |
---|---|---|
paperScope |
any | The paper scope object. |
rotationOverlay |
any | The rotation overlay object. |
- Source:
Extends
- ToolBase
Methods
setAngle(angle, pivot)
Sets the angle of the rotation.
Parameters:
Name | Type | Description |
---|---|---|
angle |
number | The angle to set. |
pivot |
any | The pivot point for the rotation. |
- Source: