DiagramLite Programmer's Guide
Utilities.MidPoint Method
See Also
 





Returns the middle point of the segment defined by the specified points.

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

 Syntax

C#  Copy Code

public static Point MidPoint (
    Point pt1,
    Point pt2
)

Visual Basic  Copy Code

Public Shared Function MidPoint( _
    pt1 As Point, _
    pt2 As Point _
) As Point

 Parameters

pt1

The first point.

pt2

The second point.

 Return Value

A Point instance that represents the middle point.

 See Also

Utilities Members
Utilities Class
MindFusion.Diagramming Namespace