FMX.Types.PixelToFloat4

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE System::Uitypes::TAlphaColorF __fastcall PixelToFloat4(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 specific format into a TAlphaColorF record.

Input points to the pixel to be converted.

InputFormat specifies the TPixelFormat of the Input pixels.


The returned record (TAlphaColorF) contains the resulting RGBA color values.

See Also