FMX.Filter.TFilterValueRec

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TFilterValueRec = record
    Name: string;
    Desc: string;
    ValueType: TFilterValueType;
    Value: TValue;
    Min, Max, Default: TValue;
    Bitmap: TBitmap;
    constructor Create(const AName, ADesc: string; AType: TFilterValueType; ADefault, AMin, AMax: TValue); overload;
    constructor Create(const AName, ADesc: string; AType: TFilterValueType); overload;
    constructor Create(const AName, ADesc: string; ADefault: TAlphaColor); overload;
    constructor Create(const AName, ADesc: string; ADefault, AMin, AMax: Single); overload;
    constructor Create(const AName, ADesc: string; ADefault, AMin, AMax: TPointF); overload;
  end;

C++

struct DECLSPEC_DRECORD TFilterValueRec
{
public:
    System::UnicodeString Name;
    System::UnicodeString Desc;
    TFilterValueType ValueType;
    System::Rtti::TValue Value;
    System::Rtti::TValue Min;
    System::Rtti::TValue Max;
    System::Rtti::TValue Default;
    Fmx::Graphics::TBitmap* Bitmap;
    __fastcall TFilterValueRec(const System::UnicodeString AName, const System::UnicodeString ADesc, TFilterValueType AType, const System::Rtti::TValue &ADefault, const System::Rtti::TValue &AMin, const System::Rtti::TValue &AMax)/* overload */;
    __fastcall TFilterValueRec(const System::UnicodeString AName, const System::UnicodeString ADesc, TFilterValueType AType)/* overload */;
    __fastcall TFilterValueRec(const System::UnicodeString AName, const System::UnicodeString ADesc, System::Uitypes::TAlphaColor ADefault)/* overload */;
    __fastcall TFilterValueRec(const System::UnicodeString AName, const System::UnicodeString ADesc, float ADefault, float AMin, float AMax)/* overload */;
#ifndef _WIN64
    __fastcall TFilterValueRec(const System::UnicodeString AName, const System::UnicodeString ADesc, const System::Types::TPointF &ADefault, const System::Types::TPointF &AMin, const System::Types::TPointF &AMax)/* overload */;
#else /* _WIN64 */
    __fastcall TFilterValueRec(const System::UnicodeString AName, const System::UnicodeString ADesc, System::Types::TPointF ADefault, System::Types::TPointF AMin, System::Types::TPointF AMax)/* overload */;
#endif /* _WIN64 */
    TFilterValueRec() {}
};

Properties

Type Visibility Source Unit Parent
record
struct
public
FMX.Filter.pas
FMX.Filter.hpp
FMX.Filter FMX.Filter

Description

Record that holds information about a shader filter value.

The following table describes the fields of the record:

Field Description

Name

The name of the shader filter value.

Desc

The description of the shader filter value.

ValueType

The TFilterValueType type of the shader filter value. Possible options are Bitmap, Float, Point, and Color.

Value

The value of the shader filter.

Min

The minimum value that the Value field can take.

Max

The maximum value that the Value field can take.

Default

The default value of the shader filter.

Bitmap

The TBitmap bitmap stored in this value record of the shader filter.

See Also