Documentation / @ripl/core / createShape
Function: createShape()
Defined in: packages/core/src/core/shape.ts:152
Factory function that creates a new Shape2D instance.
Parameters
| Parameter | Type |
|---|---|
...options | [string, Shape2DOptions<Partial<BaseState>>] |