Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tldraw/tldraw
/ getShapeAtPoint.test.ts
File
getShapeAtPoint.test.ts
packages/tldraw/src/test/getShapeAtPoint.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ TLShape, createShapeId, toRichText } from
'@tldraw/editor'
2
import
{ TestEditor } from
'./TestEditor'
3
4
let
editor: TestEditor
Callers
nothing calls this directly
Calls
15
createShapeId
Function · 0.85
toRichText
Function · 0.85
createShapes
Method · 0.80
getShapeAtPoint
Method · 0.80
updateShape
Method · 0.80
deleteShapes
Method · 0.80
selectAll
Method · 0.80
getSelectedShapes
Method · 0.80
getHoveredShapeId
Method · 0.80
getOnlySelectedShape
Method · 0.80
getEditingShape
Method · 0.80
createShape
Method · 0.65
Tested by
no test coverage detected