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
Assembly: MindFusion.Diagramming

 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 Rectangle instance that represents the union of the specified arguments.

 Remarks

This method supports the MindFusion.Diagramming for .NET MAUI infrastructure and is not intended to be used directly from your code.

 See Also