FMX.Types.PixelToAlphaColor
Delphi
function PixelToAlphaColor(Input: Pointer; InputFormat: TPixelFormat): TAlphaColor;
C++
extern DELPHI_PACKAGE System::Uitypes::TAlphaColor __fastcall PixelToAlphaColor(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 seinem nativen Format in einen 32-Bit-RGBA-Farbwert (physisch gleichwertig zu TPixelFormat.BGRA).
Input
zeigt auf das umzuwandelnde Pixel.
InputFormat
gibt das TPixelFormat des Input
-Pixels an.