FMX.Graphics.TPathData.Translate
Delphi
procedure Translate(const DX, DY: Single); overload;
procedure Translate(const Delta: TPointF); overload; inline;
C++
void __fastcall Translate(const float DX, const float DY)/* overload */;
void __fastcall Translate(const System::Types::TPointF &Delta)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TPathData |
Description
Translates the current TPathData.
Translate moves the current TPathData for a specified distance on each axis.
The dX
parameter specifies the distance on the x-axis.
The dY
parameter specifies the distance on the y-axis.