FMX.Types.PixelToAlphaColor

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

Delphi

function PixelToAlphaColor(Input: Pointer; InputFormat: TPixelFormat): TAlphaColor;

C++

extern DELPHI_PACKAGE System::Uitypes::TAlphaColor __fastcall PixelToAlphaColor(void * Input, TPixelFormat InputFormat);

プロパティ

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

説明

指定されたピクセルを、ネイティブ形式から 32 ビット RGBA 色の値(物理的には TPixelFormat.BGRA と同じもの)に変換します。


Input は、変換対象のピクセルを指すポインタです。

InputFormat には、Input ピクセルの TPixelFormat を指定します。

関連項目