ShapeAnimatableProps API Reference
Prop reference
| Title | Type | Default | Description |
|---|---|---|---|
| points* | number | โ | Number of points (3=triangle, 4=square, 5=pentagon, etc.), minimum of 2. |
| rounded | number | โ | Corner rounding radius (0=sharp, higher=smoother, 100=circle) |
| inset | number | โ | Inset amount (0=none, 0.5=star-like, 1=fully inset) |
| rotation | number | โ | Rotation angle in degrees |
| scale | number | โ | Scale factor (1=normal size) |
| position | ShapePosition | โ | Position offset (number, "10%", "10% 20%", [10,20], x:10,y:20, etc) |
* Props marked with an asterisk are required.
CSS target reference
There are no corresponding CSS targets for this API.