Search
InternalUtils.AddToRect Method
See Also
 





Inflate/deflate the specified rectangle with the specified values.

Namespace: MindFusion.Diagramming.Avalonia
Assembly: MindFusion.Diagramming.Avalonia

 Syntax

C#  Copy Code

public static Rect AddToRect (
    Rect rect,
    double w,
    double h
)

Visual Basic  Copy Code

Public Shared Function AddToRect( _
    rect As Rect, _
    w As Double, _
    h As Double _
) As Rect

 Parameters

rect
The .NET Rect instance that should be modified.
w

The increment/decrement of the rectangle width.

h

The increment/decrement of the rectangle height.

 Return Value

 Remarks

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

 See Also