Svg Line
Generate an line to be appended to a SVG canvas
Description
Generate an line to be appended to a SVG canvas
Inputs
- x1 (Number): X coordinates of the beginning of the line
- y1 (Number): Y coordinates of the beginning of the line
- x2 (Number): X coordinates of the end of the line
- y2 (Number): Y coordinates of the end of the line
- stroke width (Number): Width of the line stroke
- stroke color (Color): Color of the line stroke
Outputs
- line (SVG): The object to append to a SVG canvas