Table of Contents

TUIRectangle.Inflate Method

Overloads

TUIRectangle.Inflate(Double, Double)

Subtracts dx from the left and adds dx to the right. Subtracts dy from the top and adds dy to the bottom.

Syntax

Namespace: FlexCel.Core

public void Inflate(Double dx, Double dy)

Parameters

<-> Parameter Type Description
dx Double Value to inflate the rectangle in the x direction.
dy Double Value to inflate the rectangle in the y direction.

See also

TUIRectangle.Inflate(TUIRectangle, Double, Double)

Inflates the rectangle by (dx, dy). It is similar to the other inflate overload, but this is a static method, it won't modify a rectangle in place.

Syntax

Namespace: FlexCel.Core

public static TUIRectangle Inflate(TUIRectangle sourceRect, Double dx, Double dy)

Parameters

<-> Parameter Type Description
sourceRect TUIRectangle Rectangle with the original coordinates.
dx Double X offset to inflate.
dy Double Y offset to inflate.

See also