![]() |
VOOZH | about |
The SVG <line> element is used to draw line. The start point and endpoints are given to draw the line.
Syntax:
<line x1="x-axis co-ordinate" y1="y-axis co-ordinate" x2="x-axis co-ordinate" y2="y-axis co-ordinate" > </line>
Attribute:
Example:
Output:
👁 ImageExample: Change opacity of the line.
Output:
👁 Image