Learn
Reference
Examples
Learn
Reference
Examples
API Reference
@tldraw/editor
Class
Function
Variable
coreShapes
DefaultCursor
DefaultErrorFallback
DefaultShapeIndicator
defaultUserPreferences
EASINGS
EVENT_NAME_MAP
GRID_STEPS
HALF_PI
HIT_TEST_MARGIN
PI
PI2
ROTATE_CORNER_TO_SELECTION_CORNER
runtime
SIDES
TAB_ID
TldrawEditor
Interface
TypeAlias
@tldraw/store
Class
Function
Enum
Interface
TypeAlias
tldraw
Class
Function
Variable
Enum
Interface
TypeAlias
@tldraw/tlschema
Class
Function
Variable
Interface
TypeAlias
@tldraw/validate
Class
Namespace
Close
API Reference
/
@tldraw/editor
HALF_PI
Public readonly variable
Signature
HALF_PI
:
number
Source
packages/editor/src/lib/primitives/utils.ts
GroupShapeUtil
HandleSnapGeometry