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
x1attribute defines the start of the line on the x-axis - The
y1attribute defines the start of the line on the y-axis - The
x2attribute defines the end of the line on the x-axis - The
y2attribute defines the end of the line on the y-axis