closestPointTo

open fun closestPointTo(point: Vector2F): Vector2F

Returns the closest point on this rectangle to the given point.