Search
InternalUtils.UnionNonEmptyRects Method
See Also
 





Returns the smallest possible rectangle containing both of the specified rectangles, but only if the rectangles are non-empty.

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

 Syntax

C#  Copy Code

public static Rect UnionNonEmptyRects (
    Rect rc1,
    Rect rc2
)

Visual Basic  Copy Code

Public Shared Function UnionNonEmptyRects( _
    rc1 As Rect, _
    rc2 As Rect _
) As Rect

 Parameters

rc1

The first rectangle.

rc2

The second rectangle.

 Return Value

A .NET Rect instance that represents the union of the specified arguments.

 Remarks

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

 See Also