Skip to content

scalingXOrSkewingY

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

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

Composed action handler to either scale X or skew Y Needs to be wrapped with wrapWithFixedAnchor to be effective

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