Polygon
Typeobject
Backlinks1A polygon shape.
| Property | Type | Required |
|---|---|---|
| class | string | Required |
| radius | number | Optional |
| pointCount | integer | Required |
radius​
OptionalDescription
The radius of all the corners of the polygon.
Default value is 0.
Type
number
pointCount​
RequiredDescription
The number of polygon vertices, which can determine the positions of the vertices on the object's bounds.
Type
integer