DiagramLite Programmer's Guide
Utilities.DistToRectPoint Method
See Also
 





Returns the nearest to pt point that lies on the outline of rectangle.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public static Point DistToRectPoint (
    Point pt,
    Rect r
)

Visual Basic  Copy Code

Public Shared Function DistToRectPoint( _
    pt As Point, _
    r As Rect _
) As Point

 Parameters

pt

r

 Return Value

 See Also

Utilities Members
Utilities Class
MindFusion.Diagramming Namespace