Search
InternalUtils.MidPoint Method
See Also
 





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

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 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 .NET Point instance that represents the middle point.

 Remarks

This method supports the WpfDiagram infrastructure and is not intended to be used directly from your code.

 See Also