draw_line
Draw straight lines on an SVG canvas by specifying start and end coordinates, with options to customize color, thickness, and opacity for professional graphics creation.
Instructions
직선을 그립니다.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | 시작점 X 좌표 | |
| y1 | Yes | 시작점 Y 좌표 | |
| x2 | Yes | 끝점 X 좌표 | |
| y2 | Yes | 끝점 Y 좌표 | |
| stroke | No | 선 색상 | #000000 |
| strokeWidth | No | 선 두께 | |
| opacity | No | 불투명도 | |
| id | No | 요소 ID | |
| class | No | CSS 클래스명 |