distance

fun distance(other: Bounds): Double

Computes the distance in px between the centers of this bounds and another.

Return

The distance in px between the center points

Parameters

other

The other bounds