System.Types.MultiplyRect
Delphi
procedure MultiplyRect(var R: TRectF; const DX, DY: Single);
C++
extern DELPHI_PACKAGE void __fastcall MultiplyRect(TRectF &R, const float DX, const float DY);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
説明
四角形を特定の量だけ大きくします。
MultiplyRect は、DX
を Left と Right に乗算することで、四角形の Width を増加させます。
MultiplyRect は、DY
を Top と Bottom に乗算することで、四角形の Height を増加させます。
関連項目
- System.Types.TRect
- System.Types.TRectF
- System.Types.TRectF.Width
- System.Types.TRectF.Height
- System.Types.InflateRect