distanceTo

open override fun distanceTo(point: <Error class: unknown class><T>): T

Returns the distance between this rectangle and the given point.