@mocanvas/mocanvas · function
declare function getAnchorInShapeSpace(editor: Editor, shape: UnknownShape, normalizedAnchor: VecLike): VecMap a normalized anchor (0..1, 0..1) into a shape's geometry bounds (shape-local space).
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.