System.Types.TRectF.Inflate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Inflate(const DX, DY: Single); overload;
procedure Inflate(const DL, DT, DR, DB: Single); overload;

C++

void Inflate(float DX, float DY) _ALWAYS_INLINE {
void Inflate(float l, float t, float r, float b) _ALWAYS_INLINE {

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Types.pas
SystemTypes.h
System.Types TRectF

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.

See Also