Skip to content

scaleSkewCursorStyleHandler

scaleSkewCursorStyleHandler(eventData, control, fabricObject): string

Parameters

eventData: TPointerEvent

the javascript event that is causing the scale

control: Control

the control that is interested in the action

fabricObject: FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>

the fabric object that is interested in the action

Returns

string

a valid css string for the cursor

Defined in

src/controls/scaleSkew.ts:46