FMX.Types.PixelToAlphaColor
Delphi
function PixelToAlphaColor(Input: Pointer; InputFormat: TPixelFormat): TAlphaColor;
C++
extern DELPHI_PACKAGE System::Uitypes::TAlphaColor __fastcall PixelToAlphaColor(void * Input, TPixelFormat InputFormat);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Convertit un pixel donné ayant son format natif en valeur de couleur RGBA 32 bits (physiquement équivalente au TPixelFormat.BGRA).
Input
pointe sur le pixel à convertir.
InputFormat
spécifie le TPixelFormat du pixel Input
.