Skip to content

changeObjectWidth

const changeObjectWidth: TransformActionHandler

Defined in: src/controls/changeWidth.ts:57

Action handler to change object’s width Needs to be wrapped with wrapWithFixedAnchor to be effective You want to use this only if you are building a new control handler and you want to reuse some logic. use “changeWidth” if you are looking to just use a control for width

javascript event that is doing the transform

javascript object containing a series of information around the current transform

current mouse x position, canvas normalized

current mouse y position, canvas normalized

true if some change happened