wrapWithFixedAnchor
wrapWithFixedAnchor<
T
>(actionHandler
):TransformActionHandler
<T
>
Defined in: src/controls/wrapWithFixedAnchor.ts:9
Wrap an action handler with saving/restoring object position on the transform. this is the code that permits to objects to keep their position while transforming.
Type Parameters
Section titled “Type Parameters”T
extends Transform
Parameters
Section titled “Parameters”actionHandler
Section titled “actionHandler”the function to wrap
Returns
Section titled “Returns”a function with an action handler signature