Math Utils
class MathUtils
A class that contains utility methods related to numbers.
Functions
Link copied to clipboard
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.