@mocanvas/mocanvas · function
declare function getNormalizedAnchor(editor: Editor, shape: UnknownShape, pagePoint: VecLike): VecNormalize a page point into a shape's geometry bounds, clamped to [0, 1].
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.