Skip to content

rotationStyleHandler

rotationStyleHandler(eventData, control, fabricObject): string

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

Parameters

eventData

TPointerEvent

the javascript event that is causing the scale

control

Control

the control that is interested in the action

fabricObject

FabricObject

the fabric object that is interested in the action

Returns

string

a valid css string for the cursor