line constructor
const
line(})
The <line> element is an SVG basic shape used to create a line connecting two points.
Implementation
const line(
this.children, {
this.x1,
this.y1,
this.x2,
this.y2,
this.fill,
this.stroke,
this.strokeWidth,
this.id,
this.classes,
this.styles,
this.attributes,
this.events,
super.key,
});