Star
Typeobject
Backlinks1A star shape.
Property | Type | Required |
---|---|---|
class | string | Required |
radius | number | Optional |
ratio | number | Required |
pointCount | integer | Required |
radius​
OptionalDescription
The radius of all the corners of the star.
Default value is 0
.
Type
number
ratio​
RequiredDescription
Ratio refers to the size of the star within the polygon shape.
Type
number
Value
maximum: the value of this number must smaller than or equal to: 1
minimum: the value of this number must greater than or equal to: 0
pointCount​
RequiredDescription
The number of star vertices, which can determine the positions of the vertices on the object's bounds.
Type
integer