Polyline

@Composable
fun ElementScope<SVGElement>.Polyline(attrs: SVGPolylineAttrsScope.() -> Unit)(source)

Type-safe API for creating an SVGPolylineElement.

For example, to create a Polyline from points (3, 12), (9,19), (21, 2):

Svg {
Polyline {
points(3 to 12, 9 to 19, 21 to 2)
}
}

See also