Swap Method (IndexBitmap)
Swaps a range of elements from an IndexBitmap starting at the specified source index with another IndexBitmap starting at the specified target index. The length and the indexes are specified as 32-bit integers.
Parameters
- sourceBitmap
- The IndexBitmap that contains the data to swap.
- fromIndex
- A 32-bit integer that represents the index in the source at which swapping begins.
- targetBitmap
- The IndexBitmap that receives the data.
- toIndex
- count
- A 32-bit integer that represents the number of elements to swap.