Search
DrawingUtils.minDistToRect Method
See Also
 





Calculates the minimum distance between a given point and a given rectangle.

Namespace: MindFusion.Drawing
File: DrawingUtils.js

 Syntax

JavaScript  Copy Code

function minDistToRect (point, rect)

 Parameters

point

Point. The point.

rect

Rectabgle. The rectangle.

 Return Value

Number. The minimum distance.

 See Also