Show: Delphi
C++
Display Preferences
FMX.Types.CreateTranslateMatrix
From XE2 API Documentation
Delphi
function CreateTranslateMatrix(const DX, DY: Single): TMatrix;
C++
extern PACKAGE System::Types::TMatrix __fastcall CreateTranslateMatrix(const float DX, const float DY);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Creates a translation TMatrix based on the given distance.
The distance is given through the DX and DY parameters, which are Single values.