@mocanvas/editor · function

hitTestSelectionBounds

declare function hitTestSelectionBounds(editor: Editor, pagePoint: VecLike): boolean

Is the screen point inside the selection bounds (for dragging the selection as a whole)?

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.