FMX.Skia.TSkLabel.TWordsCollection.Add
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 */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Skia.pas FMX.Skia.hpp |
FMX.Skia | TWordsCollection |
Description
Creates a new TCollectionItem instance and adds it to the Items array.
FMX.Skia.TSkLabel.TWordsCollection.Add inherits from System.Classes.TCollection.Add. All content below this line refers to System.Classes.TCollection.Add.
Creates a new TCollectionItem instance and adds it to the Items array.
Call Add to create an item in the collection. The new item is placed at the end of the Items array.
Add returns the new collection item.