method
replaceItem

PathSeg replaceItem(
PathSeg newItem,
int index
)

(Not documented.)