Skip to content

scaleSkewCursorStyleHandler

scaleSkewCursorStyleHandler(eventData, control, fabricObject): string

Defined in: src/controls/scaleSkew.ts:46

Combine skew and scale style handlers to cover fabric standard use case

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