MindFusion.Charting for JavaScript Programmer's Guide
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

Type: Point
Point. The point.

rect

Type: Rectabgle
Rectabgle. The rectangle.

 Return Value

Type: Number
Number. The minimum distance.

 See Also

DrawingUtils Members
DrawingUtils Class
MindFusion.Drawing Namespace