Click or drag to resize
RectangleICalculateClosestPoint Method
Overload List
  NameDescription
Public methodCalculateClosestPoint(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.
Public methodCalculateClosestPoint(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.
Public methodCalculateClosestPoint(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.
Top
See Also