sharesRow

fun sharesRow(first: Frame, second: Frame, tolerance: Float = DEFAULT_ROW_TOLERANCE): Boolean(source)

Returns whether two frames' vertical centers differ by less than tolerance.

Return

true when both frames are usable and on the same row.

Parameters

first

One frame.

second

The other frame.

tolerance

A finite, positive, exclusive tolerance.