@mocanvas/mocanvas · interface
interface TLSelectionForegroundOverlay extends TLOverlayThe selection box and one of its resize/rotate handles.
"Foreground" because it is drawn *over* the shapes, as opposed to the
selection background that catches a drag on the interior. One record per
handle, plus one for the box itself (handle: null), so the manager can say
which handle the pointer is over.
Properties · 3
handle: string | nullThe handle this record is, or null for the box outline.
point: VecLike | nullScreen-space position of the handle; null for the box outline.
type: "selectionForeground"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.