@mocanvas/editor · type

TLResizeHandle

type TLResizeHandle = Extract<SelectionHandle, "top" | "right" | "bottom" | "left" | "top_left" | "top_right" | "bottom_left" | "bottom_right">

The handles a resize can be driven from.

A subset of SelectionHandle: the rotate handles are on the same selection frame but start a different gesture, and typing them out of the resize vocabulary is what stops a resize handler having to consider them.

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.