| Attribute | Description |
|---|---|
| x1 | Horizontal position of start of line. |
| y1 | Vertical position of start of line. |
| x2 | Horizontal position of end of line. |
| y2 | Vertical position of end of line. |
| stroke | Color of line. |
| stroke-width | Width of line. |
| stroke-opacity | Opacity of line. |
| stroke-dasharray | Dash pattern for the line |
| stroke-linecap | How line ends render |
Detailed information on the SVG 'line' element can be found in the W3C Recommendation for SVG.