FMX.TextLayout.TTextAttribute

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

TTextAttribute = record

C++

struct DECLSPEC_DRECORD TTextAttribute
{
public:
    Fmx::Graphics::TFont* Font;
    System::Uitypes::TAlphaColor Color;
    __fastcall TTextAttribute(Fmx::Graphics::TFont* const AFont, const System::Uitypes::TAlphaColor AColor)/* overload */;
    __fastcall TTextAttribute(const TTextAttribute &AExisting, Fmx::Graphics::TFont* const ANewFont)/* overload */;
    __fastcall TTextAttribute(const TTextAttribute &AExisting, const System::Uitypes::TAlphaColor ANewColor)/* overload */;
    TTextAttribute() {}
};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
record
struct
public
FMX.TextLayout.pas
FMX.TextLayout.hpp
FMX.TextLayout FMX.TextLayout

Beschreibung

Enthält Textattribute.

Font enthält die Schriftart des Textes. Color enthält die Farbe des Textes.

TTextAttribute kann auf drei Arten erstellt werden:

  • Aus einer vorhandenen Schriftart und Farbe
  • Aus einem vorhandenen TTextAttribute mit einer neuen Farbe
  • Aus einem vorhandenen TTextAttribute mit einer neuen Schriftart

Siehe auch