TradeMUX SDK Documentation
1.0
TradeMUX SDK Documentation
|
int ColorToARGB | ( | Color | clr, |
byte | alpha = 255 |
||
) |
Converts Color type into uint type to get ARGB representation of the color
clr | Color value to convert |
alpha | The value of the alpha channel used to receive the color in ARGB format. The value may be set from 0 (a color of a foreground pixel does not change the display of an underlying one) up to 255 (a color of an underlying pixel is completely replaced by the foreground pixel's one). Color transparency in percentage terms is calculated as (1-alpha/255)*100%. In other words, the lesser value of the alpha channel leads to more transparent color. |