Documentation / @ripl/core / createPolygon
Function: createPolygon()
createPolygon(...
options):Polygon
Defined in: packages/core/src/elements/polygon.ts:103
Factory function that creates a new Polygon instance.
Parameters
| Parameter | Type |
|---|---|
...options | [Shape2DOptions<PolygonState>] |