Search
InternalUtils.AddToRect Method
See Also
 





Inflate/deflate the specified rectangle with the specified values.

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

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 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.

 Remarks

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

 See Also