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
Unit: FlexCel.Core
procedure TUIRectangle.Inflate(const dx: Double; const dy: Double); overload;
Parameters
<-> |
Parameter |
Type |
Description |
const |
dx |
Double |
Value to inflate the rectangle in the x direction. |
const |
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
Unit: FlexCel.Core
class function TUIRectangle.Inflate(const sourceRect: TUIRectangle; const dx: Double; const dy: Double): TUIRectangle; static; overload;
Parameters
<-> |
Parameter |
Type |
Description |
const |
sourceRect |
TUIRectangle |
Rectangle with the original coordinates. |
const |
dx |
Double |
X offset to inflate. |
const |
dy |
Double |
Y offset to inflate. |
See also