FMX.InertialMovement.TRectD.Offset
Delphi
procedure Offset(const DX, DY: Double);
C++
void __fastcall Offset(const double DX, const double DY);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.InertialMovement.pas FMX.InertialMovement.hpp |
FMX.InertialMovement | TRectD |
Description
Adds the specified horizontal and vertical offsets to the rectangle's coordinates.
Offset does the following:
- Adds the DX offset to the Left and Right coordinates.
- Adds the DY offset to the Top and Bottom coordinates.