FMX.Types.FindClosestPixelFormat

提供: RAD Studio API Documentation
移動先: 案内検索

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);

プロパティ

種類 可視性 ソース ユニット
function public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

説明

指定されたピクセル形式に最も近いピクセルを、指定されたリストから返します。


Format は、検索の適用対象となるピクセル形式を指定します。

FormatList は、Format を探す範囲となるピクセル形式のリストを指定します。

FormatFormatList になければ、FindClosestPixelFormat は、Format に最も近いピクセル形式を探します。

関連項目