dxColorToAlphaColor(TColor,Byte) Method
In This Article
Converts a specified TColor value to the TdxAlphaColor type.
#Declaration
Delphi
function dxColorToAlphaColor(AColor: TColor; AAlpha: Byte = 255): TdxAlphaColor;
#Parameters
Name | Type |
---|---|
AColor | TColor |
AAlpha | Byte |
#Returns
Type |
---|
Tdx |
#Remarks
By default, the function creates a solid color from a source color passed as the AColor parameter. To set the custom transparency level, use the optional AAlpha parameter.
Note
For reverse conversion (i.
See Also