| RectangleICalculateClosestPoint Method |
| Name | Description | |
|---|---|---|
| CalculateClosestPoint(Vector2I) |
Calculates the point closest to the specified position on the border of this rectangle.
If this rectangle contains the specified position, the position is returned instead.
| |
| CalculateClosestPoint(Vector2F, Vector2F) |
Calculates the point closest to the specified position on the border of this rectangle
with width threshold.
If this rectangle contains the specified position, the position is returned instead.
| |
| CalculateClosestPoint(Vector2I, Vector2I) |
Calculates the point closest to the specified position on the border of this rectangle
with width threshold.
If this rectangle contains the specified position, the position is returned instead.
|