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);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
Description
Enlarges a rectangle by a specific amount.
MultiplyRect scales the rectangle's Width by multiplying DX with the Left and Right side.
MultiplyRect scales the rectangle's Height by multiplying DY with the Top and Bottom side.
See Also
- System.Types.TRect
- System.Types.TRectF
- System.Types.TRectF.Width
- System.Types.TRectF.Height
- System.Types.InflateRect