getCurrentSpanY

open fun getCurrentSpanY(firstPointerIndex: Int, secondPointerIndex: Int): Float

Returns current Y distance between pointers in pixels.

Pointers are sorted by the time they were placed on the screen until lifted up. This means that index 0 will reflect the oldest added, still active pointer and index (getPointersCount - 1) will reflect the latest added, still active pointer.

The order of parameters is irrelevant.

Return

Current Y distance between pointers in pixels.

See also

pointerIdList

Parameters

firstPointerIndex

one of pointers indexes

secondPointerIndex

one of pointers indexes