$alpha = $color | ($transparency << 24); $alpha2 = $color | (($maxTransparency - $transparency) << 24);
Faced with this code. Could you decipher what the operators "|" do and "<<" in this case.
Source: https://ru.stackoverflow.com/questions/236383/
All Articles