Public function

Signature
function getPolygonVertices(width: number, height: number, sides: number): Vec[]
Parameters
NameDescription

width

number

height

number

sides

number
Returns
Vec[]
References

Vec

Source

packages/editor/src/lib/primitives/utils.ts

getPointOnCirclegetSvgPathFromPoints