TLCropInfo
Table of contents
Info about a crop.
interface TLCropInfo<T extends TLShape> {}Parameters
| Name | Description |
|---|---|
| The handle being dragged. |
| The distance the handle is moved. |
| 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
TLContentNext
TLCurrentUser