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: modules/star/star.js, line 15 Extends module:RegularPolygon Members # bevelRatio Get the bevel ratio Source: modules/star/star.js, line 69 # bevelRatio Change the bevel ratio Source: modules/star/star.js, line 77 # nbBranches Get the number of branches Source: modules/star/star.js, line 35 # nbBranches Change the number of branches Source: modules/star/star.js, line 43 # radius Get the outer radius Overrides: module:RegularPolygon#radius Source: modules/star/star.js, line 52 # radius Change the outer radius Overrides: module:RegularPolygon#radius Source: modules/star/star.js, line 60 Methods # (static) from(definition) → {Star} Parameters: Name Type Description definition Object Star definition Source: modules/star/star.js, line 114 Returns: Type Star # rebuild() Compute the position for the points from the internal properties Source: modules/star/star.js, line 85