@mocanvas/editor · interface

HandleSnapOptions

interface HandleSnapOptions

What HandleSnaps.snapHandle is asked.


Properties · 2

currentShapeId: ShapeId

The shape whose handle is being dragged.

handle: ShapeHandle

The handle, in the dragged shape's local space — the same object the shape util produced, so its id can be used to ask that shape for the targets it offers its *own* handles.

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.