System.Types.TRect.Inflate

提供: RAD Studio API Documentation
移動先: 案内検索

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 {

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
System.Types.pas
SystemTypes.h
System.Types TRect


説明

四角形の大きさを拡張させます。

Inflate は、指定された値を四角形の Right および Bottom に追加し、Top および Left から減少させることにより、四角形の大きさを拡張させます。

DX および DY は、それぞれ水平および垂直のオフセットです。

四角形のプロパティの値(RightBottomTopLeft)は、それぞれ、DRDBDTDL の各パラメータを使用することにより変更することができます。

関連項目