MCPcopy
hub / github.com/tldraw/tldraw / lineShape

Function lineShape

packages/tldraw/src/lib/shapes/geo/GeoShapeUtil.test.tsx:54–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 return shape
53 }
54 const lineShape = () => {
55 const shape = editor.getShape(ids.line)!
56 assert(editor.isShapeOfType(shape, 'line'))
57 return shape
58 }
59 const lineHandles = () => editor.getShapeUtil('line').getHandles!(lineShape())!
60
61 function startDraggingHandle() {

Callers 2

lineHandlesFunction · 0.85
startDraggingHandleFunction · 0.85

Calls 2

getShapeMethod · 0.80
isShapeOfTypeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…