TLResizeInfo
Table of contents
Public interface
Info about a resize.
Signature
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. |
References
Source
packages/editor/src/lib/editor/shapes/ShapeUtil.ts
Properties
handle
Public propertysignature
Signature
handle: TLResizeHandle
References
initialBounds
Public propertysignature
Signature
initialBounds: Box
References
initialShape
Public propertysignature
Signature
initialShape: T
mode
Public propertysignature
Signature
mode: TLResizeMode
References
newPoint
Public propertysignature
Signature
newPoint: Vec
References
scaleX
Public propertysignature
Signature
scaleX: number
scaleY
Public propertysignature
Signature
scaleY: number