Docs
Introduction
Installation
Usage
App
Shapes
Tools
Persistence
Collaboration
User Interface
Community
Contributing
Translations
Embeds
API Reference
Close
tldraw
/
API
/
@tldraw/primitives
canolicalizeRotation
Public Function
Parameters
Name
Description
a
number
Any angle in radians
Returns
number
A number between 0 and 2 * PI
Edit this page
Last edited on 11 May 2023
Box2d
clamp