SVGLine


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.