replaceItem method
Replaces a specified existing item in the list with a specified new item.
![]() ![]() |
Syntax
retVal = object.replaceItem(newItem, index);
Parameters
- newItem [in]
-
The item to insert into the list.
- index [in]
-
Type: long
The index of the item to replace. The first item is number 0.
Standards information
- Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.4
See also
- SVGAnimatedLengthList
- SVGAnimatedNumberList
- SVGLengthList
- SVGNumberList
- SVGPathSegList
- SVGPointList
- SVGStringList
- SVGTransformList
Show:

