Calculates the minimum distance between a given point and a given rectangle.
Namespace: MindFusion.Drawing
Package: DrawingUtils.js
JavaScript Copy Code |
---|
function minDistToRect (point, rect) |
Point. The point.
Rectabgle. The rectangle.
Number. The minimum distance.