System.UIConsts.CorrectColor
Delphi
function CorrectColor(const C: TAlphaColor): TAlphaColor;
C++
extern DELPHI_PACKAGE System::Uitypes::TAlphaColor __fastcall CorrectColor(const System::Uitypes::TAlphaColor C);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.UIConsts.pas System.UIConsts.hpp |
System.UIConsts | System.UIConsts |
Description
Corrects the RGB color model of the given alpha color.
On Windows platforms, the CorrectColor method corrects the RGB color model of the given alpha color by swapping the Red (R
) and Blue (B
) channels between them. On OS X, the given alpha color is returned unchanged.