draw_regular_polygon
Draws regular polygons on an SVG canvas by specifying center coordinates, radius, number of sides, and visual properties like fill color and stroke width.
Instructions
정다각형을 그립니다.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cx | Yes | 중심 X 좌표 | |
| cy | Yes | 중심 Y 좌표 | |
| radius | Yes | 반지름 | |
| sides | Yes | 변의 개수 | |
| rotation | No | 회전 각도 (도) | |
| fill | No | 채우기 색상 | |
| stroke | No | 선 색상 | |
| strokeWidth | No | 선 두께 | |
| opacity | No | 불투명도 | |
| id | No | 요소 ID |