SVG Line

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Parameters

AttributeDescription
x1Horizontal position of start of line.
y1Vertical position of start of line.
x2Horizontal position of end of line.
y2Vertical position of end of line.
strokeColor of line.
stroke-widthWidth of line.
stroke-opacityOpacity of line.
stroke-dasharrayDash pattern for the line
stroke-linecapHow line ends render

Remarks

Detailed information on the SVG 'line' element can be found in the W3C Recommendation for SVG.



Got any SVG Question?