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) |
Point. The point.
Rectabgle. The rectangle.
Number. The minimum distance.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |