distanceToFurthestCorner

open fun distanceToFurthestCorner(pointX: Float, pointY: Float, rectLeft: Float, rectTop: Float, rectRight: Float, rectBottom: Float): Float

Returns the furthest distance from the point defined by pointX and pointY to the four corners of the rectangle defined by rectLeft, rectTop, rectRight, and rectBottom.

The caller should ensure that the point and rectangle share the same coordinate space.