Table of contents

Info about a resize.

interface TLResizeInfo<T extends TLShape> {}
Parameters
NameDescription

newPoint

The new local position of the shape.

handle

The handle being dragged.

mode

The type of resize.

scaleX

The scale in the x-axis.

scaleY

The scale in the y-axis.

initialBounds

The bounds of the shape at the start of the resize.

initialShape

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

TLMeasureTextSpanOptsTLRotationSnapshot