|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
Creates a set of connected straight line segments, using the points attribute.
The <polyline> element draws an open sequence of connected straight-line segments, given a list of vertex coordinates. Unlike "<polygon>", a polyline is not automatically closed, so it typically renders as a chain of strokes rather than a filled region. (You can still set a fill, but the result is the path filled as if it were implicitly closed, which is rarely what you want — for closed shapes use <polygon>.)
Use <polyline> for line charts, breadcrumb trails, zig-zag connectors, or any multi-segment path that should remain open.
| Attribute | Default | Description |
|---|---|---|
| points | (none) | List of points to connect with line segments, see Polyline/Polygon Points List. |