setColorAlpha
Method to get transparency from provided color
Return
int color
Parameters
color
pass the int color, i.e., you can send it from color resource file.
alpha
set alpha between 0.0f to 1.0f
Method to get transparency from provided color
int color
pass the int color, i.e., you can send it from color resource file.
set alpha between 0.0f to 1.0f