Java Color(int rgba) constructor and int overflow
According to the docs, this constructor exists:
public Color(int rgba,
boolean hasalpha)
I'm failing to see how you could use this to create the equivalent of
Color(255,255,255,255) (e.g. 0xFFFFFFFF) given that java has no unsigned
ints, however.
How do you use this constructor for a "big" color?
No comments:
Post a Comment