Skip to main content

Star

Typeobject
Backlinks1

A star shape.

PropertyTypeRequired
classstringRequired
radiusnumberOptional
rationumberRequired
pointCountintegerRequired

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"star"

radius​

Optional

Description

The radius of all the corners of the star. Default value is 0.

Type

number

ratio​

Required

Description

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​

Required

Description

The number of star vertices, which can determine the positions of the vertices on the object's bounds.

Type

integer