FMX.Skia.TSkLabel.TWordsCollection.Add

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function Add: TCustomWordsItem; overload;
function Add(const AText: string; const AColor: TAlphaColor = DefaultColor;
const AFontSize: Single = DefaultFontSize;
const AFontWeight: TFontWeight = DefaultFontWeight;
const AFontSlant: TFontSlant = DefaultFontSlant): TCustomWordsItem; overload;

C++

HIDESBASE TSkLabel::TCustomWordsItem* __fastcall Add()/* overload */;
HIDESBASE TSkLabel::TCustomWordsItem* __fastcall Add(const System::UnicodeString AText, const System::Uitypes::TAlphaColor AColor = (System::Uitypes::TAlphaColor)(0xff000000), const float AFontSize = 1.400000E+01f, const Fmx::Graphics::TFontWeight AFontWeight = (Fmx::Graphics::TFontWeight)(0x4), const Fmx::Graphics::TFontSlant AFontSlant = (Fmx::Graphics::TFontSlant)(0x0))/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
FMX.Skia.pas
FMX.Skia.hpp
FMX.Skia TWordsCollection

Beschreibung

Erzeugt eine neue Instanz von TCollectionItem und fügt sie zu dem Array Items hinzu.

FMX.Skia.TSkLabel.TWordsCollection.Add erbt von System.Classes.TCollection.Add. Der folgende Inhalt bezieht sich auf System.Classes.TCollection.Add.

Erzeugt eine neue Instanz von TCollectionItem und fügt sie zu dem Array Items hinzu.

Rufen Sie zum Erstellen eines Eintrags in der Kollektion Add auf. Der neue Eintrag wird am Ende des Arrays Items hinzugefügt.

Add gibt das neue Element der Kollektion zurück.

Siehe auch