Docs
Introduction
Installation
Usage
App
Shapes
Tools
Persistence
Collaboration
User Interface
Community
Contributing
Translations
Embeds
API Reference
Close
tldraw
/
API
/
@tldraw/primitives
clampRadians
Public Function
Clamp radians within 0 and 2PI
Parameters
Name
Description
r
number
The radian value.
Returns
number
Edit this page
Last edited on 7 May 2023
clamp
CubicSegment2d