I
ivan.svaljek
When i try to use a blue mask for a random color like this:
Color.FromArgb( myrand.next() & 0xff0000ff )
I get an error: 0xff0000ff can't be converted to int.
Apparently maximum value for int32 is 7fffffff, so how am I to set the
alpha part to ff ?
Color.FromArgb( myrand.next() & 0xff0000ff )
I get an error: 0xff0000ff can't be converted to int.
Apparently maximum value for int32 is 7fffffff, so how am I to set the
alpha part to ff ?