FMX.Types.PixelToFloat4

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function PixelToFloat4(Input: Pointer; InputFormat: TPixelFormat): TAlphaColorF;

C++

extern DELPHI_PACKAGE System::Uitypes::TAlphaColorF __fastcall PixelToFloat4(void * Input, TPixelFormat InputFormat);

Eigenschaften

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

Beschreibung

Konvertiert ein gegebenes Pixel aus dem jeweiligen Format in einen TAlphaColorF-Record.

Input zeigt auf das umzuwandelnde Pixel.

InputFormat gibt das TPixelFormat der Input-Pixel an.


Der zurückgegebene Record (TAlphaColorF) enthält die resultierenden RGBA-Farbwerte.

Siehe auch