FMX.Types.TPosition.Create
Delphi
constructor Create(const ADefaultValue: TPointF); virtual;
C++
__fastcall virtual TPosition(const System::Types::TPointF &ADefaultValue);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | TPosition |
Description
Creates and initializes a TPosition instance.
Create generates a new TPosition instance. Create requires a default TPointF value as a DefaultValue for the position. The DefaultValue is usually (0,0), but can have other values also. If the position is the same as the default value, it is not stored in the .fmx file.