Search
InternalUtils.MidPoint Method
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static PointF MidPoint (
    PointF pt1,
    PointF pt2
)

Visual Basic  Copy Code

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

 Parameters

pt1

The first point.

pt2

The second point.

 Return Value

A .NET PointF instance that represents the middle point.

 Remarks

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

 See Also