Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tldraw/tldraw
/ getSelectionRotation
Method
getSelectionRotation
packages/editor/src/lib/editor/Editor.ts:2534–2536 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2532
* @public
2533
*/
2534
@computed getSelectionRotation(): number {
2535
return
this.getShapesSharedRotation(this.getSelectedShapeIds())
2536
}
2537
2538
/**
2539
* @internal
Callers
15
updateHoveredOverlayId
Function · 0.80
updateCursor
Method · 0.80
updateCursor
Method · 0.80
_createSnapshot
Method · 0.80
isPointInRotatedSelectionBounds
Function · 0.80
onEnter
Method · 0.80
updateCursor
Method · 0.80
createSnapshot
Method · 0.80
onSelect
Function · 0.80
_computeSelectionState
Method · 0.80
resizing.test.ts
File · 0.80
SelectionForegroundOverlayUtil.test.ts
File · 0.80
Calls
2
getShapesSharedRotation
Method · 0.95
getSelectedShapeIds
Method · 0.95
Tested by
no test coverage detected