@mocanvas/editor · function
declare function getShapeHandles(editor: Editor, shape: ShapeRef): ShapeHandle[] | undefinedA shape's drag handles in its own coordinate space, or undefined when its
util defines none.
Local space, not page space: a handle is drawn and dragged through the shape's transform, and converting here would have to be undone by every caller that wants to write the result back into the shape's props.
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.