Line
Type-safe API for creating an SVGLineElement.
For example, to create a Line from (3, 12) to (21, 12):
Svg {
Line {
x1(3)
x2(21)
y1(12)
y2(12)
}
}
Content copied to clipboard
Type-safe API for creating an SVGLineElement.
For example, to create a Line from (3, 12) to (21, 12):
Svg {
Line {
x1(3)
x2(21)
y1(12)
y2(12)
}
}