Search
Utilities.SetCenter Method
See Also
 





Centers a rectangle on specified point.

Namespace: MindFusion
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public static Rect SetCenter (
    Rect rect,
    Point point
)

Visual Basic  Copy Code

Public Shared Function SetCenter( _
    rect As Rect, _
    point As Point _
) As Rect

 Parameters

rect

point

 Return Value

 See Also