Skip to content
Andamento
Search
K
Main Navigation
Guide
Examples
Patterns
API
Playground
Appearance
Menu
Return to top
On this page
Function: shapeCentroid()
ts
function
shapeCentroid
(
s
)
:
Vec
;
Centroid of a shape, holes included.
Parameters
Parameter
Type
s
Shape
Returns
Vec