System.Types.InflateRect

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

Delphi

procedure InflateRect(var R: TRectF; const DX, DY: Single);
procedure InflateRect(var R: TRect; const DX, DY: Integer);

C++

extern DELPHI_PACKAGE void __fastcall InflateRect(TRectF &R, const float DX, const float DY)/* overload */;

プロパティ

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

説明

四角形を特定の量だけ大きくします。

InflateRect は、DXLeft から引き、さらに、DX 分を Right に足すことにより、四角形の Width を増加させます。

InflateRect は、DYTop から引き、さらに、DY 分を Bottom に足すことにより、四角形の Height を増加させます。

関連項目

コード サンプル