SVG
The getItem() method of the SVGNumberList 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.
Syntax
getItem(index)
Parameters
index- : A non-negative integer that specifies the index of the item to retrieve.
Return value
The SVGNumber at the specified index in the list.
Exceptions
IndexSizeErrorDOMException- : Thrown when the index is out of bounds for the list.
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
