TLResizeInfo
Public typealias
Info about a resize.
Signature
type TLResizeInfo<T extends TLShape> = {
newPoint: Vec
handle: TLResizeHandle
mode: TLResizeMode
scaleX: number
scaleY: number
initialBounds: Box
initialShape: T
}
Parameters
Name | Description |
---|---|
| The new local position of the shape. |
| The handle being dragged. |
| The type of resize. |
| The scale in the x-axis. |
| The scale in the y-axis. |
| The bounds of the shape at the start of the resize. |
| The shape at the start of the resize. |
References
TLShape, Vec, TLResizeHandle, TLResizeMode, Box
Source