The getItem() method of the SVGLengthList interface returns the specified item from the list. The returned item is the item itself and not a copy. Any changes made to the item are immediately reflected in the list. The first item is indexed 0.
getItem(index)indexA non-negative integer that specifies the index of the item to retrieve.
The SVGLength at the specified index in the list.
IndexSizeError DOMExceptionThrown when the index is out of bounds for the list.
See SVGLengthList for a complete example.