resizeBox
See source codefunction resizeBox<T extends TLBaseBoxShape>(
shape: T,
info: {
handle: TLResizeHandle
initialBounds: Box
initialShape: T
mode: TLResizeMode
newPoint: VecModel
scaleX: number
scaleY: number
},
opts?: ResizeBoxOptions
): T
Parameters
Name | Description |
---|---|
|
|
|
|
|
Returns
T
Prev
releasePointerCaptureNext
rotateSelectionHandle