SVG <line>
SVG Line - <line>
The <line>
element is used to create a line:
Below is the SVG code:
Example
For Opera users: View SVG file (right-click on the SVG graphic to view source).
- The
x1
attribute defines the start of the line on the x-axis - The
y1
attribute defines the start of the line on the y-axis - The
x2
attribute defines the end of the line on the x-axis - The
y2
attribute defines the end of the line on the y-axis