Skip to content

skewHandlerX

skewHandlerX(eventData, transform, x, y): boolean

Defined in: src/controls/skew.ts:225

Wrapped Action handler for skewing on the X axis, takes care of the skew direction and determines the correct transform origin for the anchor point

Parameters

eventData

TPointerEvent

javascript event that is doing the transform

transform

Transform

javascript object containing a series of information around the current transform

x

number

current mouse x position, canvas normalized

y

number

current mouse y position, canvas normalized

Returns

boolean

true if some change happened