Parameter | Details |
---|---|
handle | url to a custom image for the handle |
angle | the starting rotation for the element. |
rotationCenterX | position about which the element will be rotated |
rotationCenterY | position about which the element will be rotated |
step | an angle in degrees that the rotation will snap to if the shift key is held. |
snap | snaps to step in degrees. |
start | triggered when rotation starts |
stop | triggered when rotation stops |
rotate | triggered when object is being rotated |
wheelRotate | enable/disable mouse wheel to rotate element. |