kcl → types →
PolygonData
Data for drawing a polygon
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
radius | number | The radius of the polygon | No |
numSides | integer | The number of sides in the polygon | No |
center | [number, number] | The center point of the polygon | No |
inscribed | boolean | Whether the polygon is inscribed (true) or circumscribed (false) about a circle with the specified radius | No |