Docs
Introduction
Installation
Usage
App
Shapes
Tools
Persistence
Collaboration
User Interface
Community
Contributing
Translations
Embeds
API Reference
Close
tldraw
/
API
/
@tldraw/primitives
getPolygonVertices
Public Function
Parameters
Name
Description
width
number
height
number
sides
number
Returns
Vec2
d[]
References
Vec2d
Edit this page
Last edited on 1 June 2023
getPointOnCircle
getRoundedInkyPolygonPath