跳转到内容

scaleOrSkewActionName

scaleOrSkewActionName(eventData, control, fabricObject): "" | TAxisKey<"scale" | "skew">

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

"" | TAxisKey<"scale" | "skew">

an action name

Defined in

src/controls/scaleSkew.ts:24