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

aspectRatioLocked

optional
aspectRatioLocked?: boolean;

change

change: Vec;

crop

crop: TLShapeCrop;

handle

handle: SelectionHandle;

initialShape

initialShape: T;

uncroppedSize

uncroppedSize: {
  h: number;
  w: number;
};

Prev
TLContent
Next
TLCurrentUser