Show: Delphi C++
Display Preferences

FMX.Types.PixelToAlphaColor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Converts a given pixel from its native format into a 32-bit RGBA color value (physically equivalent of TPixelFormat.BGRA).

Input points to the pixel to be converted.

InputFormat specifies the TPixelFormat of the Input pixel.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance