horizontalGap

fun horizontalGap(first: Frame, second: Frame): Float?(source)

Returns the horizontal distance between two frames, or zero when they overlap horizontally.

Return

The gap, or null when either frame is unusable.

Parameters

first

One frame.

second

The other frame.