moveIndexToIndex Method

move the coordinates at fromIndex to toIndex.

  • No action if either index is invalid.

moveIndexToIndex(fromIndex: number, toIndex: number): void

Parameter Type Description
fromIndex number  
toIndex number  

Returns - void

Defined in

Last Updated: 20 June, 2023