Create Line
illustrator_create_lineDraw a straight line between two specified points, with optional color and width. Define start and end coordinates to create a line in Adobe Illustrator.
Instructions
Draw a straight line between two points (x1,y1) and (x2,y2), top-left origin, Y down. Args: x1, y1, x2, y2, optional stroke (default black), strokeWidth (default 1), name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | Start X. | |
| x2 | Yes | End X. | |
| y1 | Yes | Start Y. | |
| y2 | Yes | End Y. | |
| name | No | Optional name. | |
| stroke | No | Line color (default black). | |
| strokeWidth | No | Line width in points (default 1). |