System.Types.InflateRect
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 は、DX
分 Left から引き、さらに、DX
分を Right に足すことにより、四角形の Width を増加させます。
InflateRect は、DY
分 Top から引き、さらに、DY
分を Bottom に足すことにより、四角形の Height を増加させます。
関連項目
- System.Types.TRect
- System.Types.TRectF
- System.Types.TRect.Width
- System.Types.TRect.Height
- System.Types.MultiplyRect