draw_rect
Draw rectangles on SVG canvases by specifying coordinates, dimensions, and styling options like rounded corners, fill colors, and stroke properties.
Instructions
사각형을 그립니다.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | 좌상단 X 좌표 | |
| y | Yes | 좌상단 Y 좌표 | |
| width | Yes | 너비 | |
| height | Yes | 높이 | |
| rx | No | 모서리 X 반경 (둥근 모서리) | |
| ry | No | 모서리 Y 반경 (둥근 모서리) | |
| fill | No | 채우기 색상 (hex, rgb, 색상명, none) | |
| stroke | No | 선 색상 | |
| strokeWidth | No | 선 두께 | |
| opacity | No | 불투명도 (0-1) | |
| id | No | 요소 ID (자동 생성됨) | |
| class | No | CSS 클래스명 |