FMX.Types.TPosition.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

constructor Create(const ADefaultValue: TPointF); virtual;

C++

__fastcall virtual TPosition(const System::Types::TPointF &ADefaultValue);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
FMX.Types.pas
FMX.Types.hpp
FMX.Types TPosition

Beschreibung

Erstellt und initialisiert eine TPosition-Instanz.

Create erzeugt eine neue TPosition-Instanz. Create erfordert einen TPointF-Standardwert als DefaultValue für die Position. DefaultValue ist normalerweise (0,0), kann aber auch andere Werte annehmen. Wenn die Position gleich mit dem Standardwert ist, wird sie nicht in der .fmx-Datei gespeichert.

Siehe auch