The length
read-only property of the SVGPointList
interface returns the number of items in the list.
The length
read-only property of the SVGPointList
interface returns the number of items in the list.
The number of items in the list.
The following example shows an SVG which contains a <polyline>
with five coordinate pairs. The length
property returns 5
.
BCD tables only load in the browser
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/length