MindFusion WinForms Programmer's Guide
InternalUtils.MidPoint Method (PointF, PointF)
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: 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 MindFusion.Diagramming infrastructure and is not intended to be used directly from your code.

 See Also

MidPoint Method Overload List
InternalUtils Members
InternalUtils Class
MindFusion.Diagramming Namespace