getStarBounds

Public Readonly Variable

Gets the width/height of a star given its input bounds.

Parameters
NameDescription

sides

Number of sides

w

T target width

h

Target height

Signature
getStarBounds: (sides: number, w: number, h: number) => Box2d
References

Box2d

Edit this page
Last edited on 11 May 2023
getRoundedPolygonPointsgetStroke