getStarBounds
Public Readonly Variable
Gets the width/height of a star given its input bounds.
Parameters
Name | Description |
---|---|
| Number of sides |
| T target width |
| Target height |
Signature
getStarBounds: (sides: number, w: number, h: number) => Box2d
Public Readonly Variable
Gets the width/height of a star given its input bounds.
Name | Description |
---|---|
| Number of sides |
| T target width |
| Target height |
getStarBounds: (sides: number, w: number, h: number) => Box2d