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