FMX.Types.FindClosestPixelFormat

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function FindClosestPixelFormat(Format: TPixelFormat; const FormatList: TPixelFormatList): TPixelFormat;

C++

extern DELPHI_PACKAGE TPixelFormat __fastcall FindClosestPixelFormat(TPixelFormat Format, System::Generics::Collections::TList__1<TPixelFormat>* const FormatList);

Eigenschaften

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

Beschreibung

Gibt das Pixel aus einer angegebenen Liste zurück, das einem gegebenen Pixel am ähnlichsten ist.

Format gibt das Pixelformat an, für das die Suche ausgeführt werden soll.

FormatList gibt die Liste der Pixelformate an, in der Format gesucht werden soll.

FindClosestPixelFormat sucht das Pixelformat, das Format am ähnlichsten ist, falls Format in FormatList nicht vorhanden ist.

Siehe auch