Skip to content

rotationStyleHandler

const rotationStyleHandler: ControlCursorCallback

Defined in: src/controls/rotate.ts:19

Find the correct style for the control that is used for rotation. this function is very simple and it just take care of not-allowed or standard cursor

Param

the javascript event that is causing the scale

Param

the control that is interested in the action

Param

the fabric object that is interested in the action

Returns

a valid css string for the cursor