System.UIConsts.PremultiplyAlpha
Delphi
function PremultiplyAlpha(const C: TAlphaColor): TAlphaColor;
C++
extern DELPHI_PACKAGE System::Uitypes::TAlphaColor __fastcall PremultiplyAlpha(const System::Uitypes::TAlphaColor C);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.UIConsts.pas System.UIConsts.hpp |
System.UIConsts | System.UIConsts |
Description
Premultiplies the given alpha color by its contained alpha value.
The PremultiplyAlpha method is used to multiply each of the three RGB components (that is, Red, Green, and Blue) of the color given through the C
parameter, by its contained alpha value.