Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
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>.