FMX.Graphics.TFontStyleExt
Delphi
TFontStyleExt = record
C++
struct DECLSPEC_DRECORD TFontStyleExt
{
public:
System::Uitypes::TFontStyles SimpleStyle;
TFontWeight Weight;
TFontSlant Slant;
TFontStretch Stretch;
static TFontStyleExt __fastcall Create(const TFontWeight AWeight = (TFontWeight)(0x4), const TFontSlant AStant = (TFontSlant)(0x0), const TFontStretch AStretch = (TFontStretch)(0x4), const System::Uitypes::TFontStyles AOtherStyles = System::Uitypes::TFontStyles() )/* overload */;
static TFontStyleExt __fastcall Create(const System::Uitypes::TFontStyles AStyle)/* overload */;
static TFontStyleExt __fastcall Default();
static bool __fastcall _op_Equality(const TFontStyleExt &A, const TFontStyleExt &B);
static bool __fastcall _op_Inequality(const TFontStyleExt &A, const TFontStyleExt &B);
__fastcall operator System::Uitypes::TFontStyles();
static TFontStyleExt __fastcall _op_Addition(const TFontStyleExt &A, const TFontStyleExt &B);
static TFontStyleExt __fastcall _op_Addition(const TFontStyleExt &A, const System::Uitypes::TFontStyle B);
static TFontStyleExt __fastcall _op_Addition(const TFontStyleExt &A, const System::Uitypes::TFontStyles B);
static TFontStyleExt __fastcall _op_Subtraction(const TFontStyleExt &A, const System::Uitypes::TFontStyle B);
static TFontStyleExt __fastcall _op_Subtraction(const TFontStyleExt &A, const System::Uitypes::TFontStyles B);
static bool __fastcall _op_In(const System::Uitypes::TFontStyle A, const TFontStyleExt &B);
static System::Uitypes::TFontStyles __fastcall _op_Multiply(const System::Uitypes::TFontStyles A, const TFontStyleExt &B);
bool __fastcall IsRegular();
friend bool operator ==(const TFontStyleExt &A, const TFontStyleExt &B) { return TFontStyleExt::_op_Equality(A, B); }
friend bool operator !=(const TFontStyleExt &A, const TFontStyleExt &B) { return TFontStyleExt::_op_Inequality(A, B); }
friend TFontStyleExt operator +(const TFontStyleExt &A, const TFontStyleExt &B) { return TFontStyleExt::_op_Addition(A, B); }
friend TFontStyleExt operator +(const TFontStyleExt &A, const System::Uitypes::TFontStyle B) { return TFontStyleExt::_op_Addition(A, B); }
friend TFontStyleExt operator +(const TFontStyleExt &A, const System::Uitypes::TFontStyles B) { return TFontStyleExt::_op_Addition(A, B); }
friend TFontStyleExt operator -(const TFontStyleExt &A, const System::Uitypes::TFontStyle B) { return TFontStyleExt::_op_Subtraction(A, B); }
friend TFontStyleExt operator -(const TFontStyleExt &A, const System::Uitypes::TFontStyles B) { return TFontStyleExt::_op_Subtraction(A, B); }
friend System::Uitypes::TFontStyles operator *(const System::Uitypes::TFontStyles A, const TFontStyleExt &B) { return TFontStyleExt::_op_Multiply(A, B); }
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | FMX.Graphics |
Description
Is an extended font style based on TFontStyles.
It supports multi-weight and multi-stretch fonts.