dxAlphaColorToColor(TdxAlphaColor,Byte) Method
Converts a specified TdxAlphaColor value to the TColor type.
Declaration
function dxAlphaColorToColor(AColor: TdxAlphaColor; out AAlpha: Byte): TColor;
Parameters
Name | Type |
---|---|
AColor | TdxAlphaColor |
AAlpha | Byte |
Returns
Type |
---|
TColor |
Remarks
Both overloaded variants of this function create a TColor value from the color passed as the AColor parameter. The second overloaded variant additionally obtains the alpha value from AColor and returns it as the AAlpha parameter.
Note
For reverse conversion (i.e., from TColor to TdxAlphaColor), use the dxColorToAlphaColor function.
See Also