closestPointTo

open fun closestPointTo(point: Vector2F): Vector2F

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