FMX.Types.AlphaColorToPixel

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure AlphaColorToPixel(Input: TAlphaColor; Output: Pointer; OutputFormat: TPixelFormat);

C++

extern DELPHI_PACKAGE void __fastcall AlphaColorToPixel(System::Uitypes::TAlphaColor Input, void * Output, TPixelFormat OutputFormat);

Eigenschaften

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

Beschreibung

Konvertiert den 32-Bit-RGBA-Farbwert (physisch gleichwertig zu TPixelFormat.BGRA) eines Pixels in das native Pixelformat.

Input gibt die Pixelfarbe an, die in das angegebene Pixelformat umgewandelt werden soll.

Output gibt den Zeiger auf das Zielpixel an.

OutputFormat gibt das TPixelFormat des Output-Pixels an.

Siehe auch