SetImageColorBJ
- Parameters
-
whichImage image
red real
green real
blue real
alpha real
- comment
-
Similar to SetImageColor, however this takes 0-100 values as percent for colors. Alpha channel=(100-alpha)
- patch
-
1.18a
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
function SetImageColorBJ takes image whichImage, real red, real green, real blue, real alpha returns nothing call SetImageColor(whichImage, PercentTo255(red), PercentTo255(green), PercentTo255(blue), PercentTo255(100.0-alpha)) endfunction