TLResizeInfo
See source codeTable of contents
Info about a resize.
interface TLResizeInfo<T extends TLShape> {}
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. |
Properties
handle
handle: TLResizeHandle
initialBounds
initialBounds: Box
initialShape
initialShape: T
mode
mode: TLResizeMode
newPoint
newPoint: Vec
scaleX
scaleX: number
scaleY
scaleY: number
Prev
TLRenderingShapeNext
TLScribbleProps