Search
InternalUtils.AddToRect Method
See Also
 





Inflate/deflate the specified rectangle with the specified values.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static void AddToRect (
    ref RectangleF rect,
    float w,
    float h
)

Visual Basic  Copy Code

Public Shared Sub AddToRect( _
    ByRef rect As RectangleF, _
    w As Single, _
    h As Single _
)

 Parameters

rect

The .NET RectangleF instance that must be modified.

w

The increment/decrement of the rectangle width.

h

The increment/decrement of the rectangle height.

 Remarks

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

 See Also