City17
4 years
Similar to [jassdoc]SetImageColor[/jassdoc], however this takes 0-100 values as percent for colors. Alpha channel=(100-alpha)
| 2222 | function SetImageColorBJ takes image whichImage, real red, real green, real blue, real alpha returns nothing |
| 2223 | call SetImageColor(whichImage, PercentTo255(red), PercentTo255(green), PercentTo255(blue), PercentTo255(100.0-alpha)) |
| 2224 | endfunction
|