follows

fun follows(second: Frame, first: Frame, direction: ReadingDirection, rowTolerance: Float = DEFAULT_ROW_TOLERANCE): Boolean(source)

Returns whether second is read after first on the same row.

Return

true when both frames share a row and second comes later in direction.

Parameters

second

The frame expected later.

first

The frame expected earlier.

direction

The row's reading direction.

rowTolerance

The exclusive tolerance for sharing a row.