Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
Polyline/Polygon Points List

The points attribute is used to specify line paths for <polyline> and <polygon>.

It specifies a list of numbers separated by whitespace or commas, for example: "10,20 30,40". Numbers are the same as the CSS number type: "... an integer, or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits and optionally an exponent composed of "e" or "E" and an integer".

To parse a points list, use PointsListParser::Parse.

This is used by <polyline> and <polygon>.