SVGPointListBaseline Widely availableThis feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.Learn moreSee full compatibilityReport feedbackThe SVGPointList interface represents a list of SVGPoint objects. An SVGPointList can be designated as read-only, which means that attempts to modify the object will result in an exception being thrown.Instance properties SVGPointList.length Read only Returns the number of points in the list. SVGPointList.numberOfItems Read only Returns the number of points in the list. Instance methods SVGPointList.clear() Removes all items in the list. SVGPointList.initialize() First removes all items in the list, then adds a single value to the list. SVGPointList.getItem() Gets an item from the list at a specified position. SVGPointList.insertItemBefore() Inserts an element into the list at a specified position. SVGPointList.replaceItem() Replaces an item in the list with a new item. SVGPointList.removeItem() Removes an item from the list. SVGPointList.appendItem() Adds an item to the end of the list. ExamplesThe following example shows an SVG which contains a <polyline> with five coordinate pairs. The points property returns an SVGPointList. html<svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg"> <polyline id="example" stroke="black" fill="none" points="50,0 21,90 98,35 2,35 79,90" /> </svg> jslet example = document.getElementById("example"); console.log(example.points); //an SVGPointList SpecificationsSpecificationScalable Vector Graphics (SVG) 2 # InterfaceSVGPointListBrowser compatibilitydesktopmobileChromeEdgeFirefoxOperaSafariChrome AndroidFirefox for AndroidOpera AndroidSafari on iOSSamsung InternetWebView AndroidWebView on iOSSVGPointListChrome – Full supportChrome1Toggle historyEdge – Full supportEdge12Toggle historyFirefox – Full supportFirefox1.5Toggle historyOpera – Full supportOpera12.1Toggle historySafari – Full supportSafari3Toggle historyChrome Android – Full supportChrome Android18Toggle historyFirefox for Android – Full supportFirefox for Android4Toggle historyOpera Android – Full supportOpera Android12.1Toggle historySafari on iOS – Full supportSafari on iOS1Toggle historySamsung Internet – Full supportSamsung Internet1.0Toggle historyWebView Android – Full supportWebView Android3Toggle historyWebView on iOS – Full supportWebView on iOS1Toggle historyappendItemChrome – Full supportChrome1Toggle historyEdge – Full supportEdge12Toggle historyFirefox – Full supportFirefox1.5Toggle historyOpera – Full supportOpera12.1Toggle historySafari – Full supportSafari3Toggle historyChrome Android – Full supportChrome Android18Toggle historyFirefox for Android – Full supportFirefox for Android4Toggle historyOpera Android – Full supportOpera Android12.1Toggle historySafari on iOS – Full supportSafari on iOS1Toggle historySamsung Internet – Full supportSamsung Internet1.0Toggle historyWebView Android – Full supportWebView Android3Toggle historyWebView on iOS – Full supportWebView on iOS1Toggle historyclearChrome – Full supportChrome1Toggle historyEdge – Full supportEdge12Toggle historyFirefox – Full supportFirefox1.5Toggle historyOpera – Full supportOpera12.1Toggle historySafari – Full supportSafari3Toggle historyChrome Android – Full supportChrome Android18Toggle historyFirefox for Android – Full supportFirefox for Android4Toggle historyOpera Android – Full supportOpera Android12.1Toggle historySafari on iOS – Full supportSafari on iOS1Toggle historySamsung Internet – Full supportSamsung Internet1.0Toggle historyWebView Android – Full supportWebView Android3Toggle historyWebView on iOS – Full supportWebView on iOS1Toggle historygetItemChrome – Full supportChrome1Toggle historyEdge – Full supportEdge12Toggle historyFirefox – Full supportFirefox1.5Toggle historyOpera – Full supportOpera12.1Toggle historySafari – Full supportSafari3Toggle historyChrome Android – Full supportChrome Android18Toggle historyFirefox for Android – Full supportFirefox for Android4Toggle historyOpera Android – Full supportOpera Android12.1Toggle historySafari on iOS – Full supportSafari on iOS1Toggle historySamsung Internet – Full supportSamsung Internet1.0Toggle historyWebView Android – Full supportWebView Android3Toggle historyWebView on iOS – Full supportWebView on iOS1Toggle historyinitializeChrome – Full supportChrome1Toggle historyEdge – Full supportEdge12Toggle historyFirefox – Full supportFirefox1.5Toggle historyOpera – Full supportOpera12.1Toggle historySafari – Full supportSafari3Toggle historyChrome Android – Full supportChrome Android18Toggle historyFirefox for Android – Full supportFirefox for Android4Toggle historyOpera Android – Full supportOpera Android12.1Toggle historySafari on iOS – Full supportSafari on iOS1Toggle historySamsung Internet – Full supportSamsung Internet1.0Toggle historyWebView Android – Full supportWebView Android3Toggle historyWebView on iOS – Full supportWebView on iOS1Toggle historyinsertItemBeforeChrome – Full supportChrome1Toggle historyEdge – Full supportEdge12Toggle historyFirefox – Full supportFirefox1.5Toggle historyOpera – Full supportOpera12.1Toggle historySafari – Full supportSafari3Toggle historyChrome Android – Full supportChrome Android18Toggle historyFirefox for Android – Full supportFirefox for Android4Toggle historyOpera Android – Full supportOpera Android12.1Toggle historySafari on iOS – Full supportSafari on iOS1Toggle historySamsung Internet – Full supportSamsung Internet1.0Toggle historyWebView Android – Full supportWebView Android3Toggle historyWebView on iOS – Full supportWebView on iOS1Toggle historylengthChrome – Full supportChrome35Toggle historyEdge – Full supportEdge79Toggle historyFirefox – Full supportFirefox5Toggle historyOpera – Full supportOpera12.1Toggle historySafari – Full supportSafari13.1Toggle historyChrome Android – Full supportChrome Android35Toggle historyFirefox for Android – Full supportFirefox for Android5Toggle historyOpera Android – Full supportOpera Android12.1Toggle historySafari on iOS – Full supportSafari on iOS13.4Toggle historySamsung Internet – Full supportSamsung Internet3.0Toggle historyWebView Android – Full supportWebView Android37Toggle historyWebView on iOS – Full supportWebView on iOS13.4Toggle historynumberOfItemsChrome – Full supportChrome1Toggle historyEdge – Full supportEdge12Toggle historyFirefox – Full supportFirefox1.5Toggle historyOpera – Full supportOpera12.1Toggle historySafari – Full supportSafari3Toggle historyChrome Android – Full supportChrome Android18Toggle historyFirefox for Android – Full supportFirefox for Android4Toggle historyOpera Android – Full supportOpera Android12.1Toggle historySafari on iOS – Full supportSafari on iOS1Toggle historySamsung Internet – Full supportSamsung Internet1.0Toggle historyWebView Android – Full supportWebView Android3Toggle historyWebView on iOS – Full supportWebView on iOS1Toggle historyremoveItemChrome – Full supportChrome1Toggle historyEdge – Full supportEdge12Toggle historyFirefox – Full supportFirefox1.5Toggle historyOpera – Full supportOpera12.1Toggle historySafari – Full supportSafari3Toggle historyChrome Android – Full supportChrome Android18Toggle historyFirefox for Android – Full supportFirefox for Android4Toggle historyOpera Android – Full supportOpera Android12.1Toggle historySafari on iOS – Full supportSafari on iOS1Toggle historySamsung Internet – Full supportSamsung Internet1.0Toggle historyWebView Android – Full supportWebView Android3Toggle historyWebView on iOS – Full supportWebView on iOS1Toggle historyreplaceItemChrome – Full supportChrome1Toggle historyEdge – Full supportEdge12Toggle historyFirefox – Full supportFirefox1.5Toggle historyOpera – Full supportOpera12.1Toggle historySafari – Full supportSafari3Toggle historyChrome Android – Full supportChrome Android18Toggle historyFirefox for Android – Full supportFirefox for Android4Toggle historyOpera Android – Full supportOpera Android12.1Toggle historySafari on iOS – Full supportSafari on iOS1Toggle historySamsung Internet – Full supportSamsung Internet1.0Toggle historyWebView Android – Full supportWebView Android3Toggle historyWebView on iOS – Full supportWebView on iOS1Toggle history