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
Enum
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
PI2
Public readonly variable
Signature
PI2
:
number
Source
packages/editor/src/lib/primitives/utils.ts
PI
Point2d