TLCropInfo

See source code
Table of contents

Info about a crop.

interface TLCropInfo<T extends TLShape> {}

Parameters

NameDescription

handle

The handle being dragged.

change

The distance the handle is moved.

initialShape

The shape at the start of the resize.


Properties

change

change: Vec

crop


handle


initialShape

initialShape: T

uncroppedSize

uncroppedSize: {
  h: number
  w: number
}

Prev
TLContent
Next
TLCursorProps