Constructor
new module:Star(positionDefinition, nbBranchesopt, outerRadius, bevelRatioopt, optionsopt)
Star constructor
Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
positionDefinition | PositionDefinition | Center of the star  | ||
nbBranches | Number | <optional> | 5 | Number of branches to create (can't be less than 2)  | 
outerRadius | Number | Distance of branches from center  | ||
bevelRatio | Number | <optional> | 0.5 | Ratio between branches length and bevel between them  | 
options | ComponentOptions | <optional> | Drawing options  | 
- Source
 
