System.Types.TRect.Inflate
Delphi
procedure Inflate(const DX, DY: Integer); overload;
procedure Inflate(const DL, DT, DR, DB: Integer); overload;
C++
void Inflate(int DX, int DY) _ALWAYS_INLINE {
void Inflate(int l, int t, int r, int b) _ALWAYS_INLINE {
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | System.Types.pas SystemTypes.h |
System.Types | TRect |
Description
Inflates the dimensions of the rectangle.
Inflate increases the rectangle's dimensions by adding specified values to Right and Bottom, and dropping specified values from Top and Left.
DX and DY are horizontal and vertical offsets, respectively.
The values of the rectangle's properties (Right, Bottom, Top, Left) can be modified by using the DR, DB, DT, DL parameters, respectively.