Method Image.Color.Color()->bits()
- Method bits
bits(intobjectintrbits,objectintgbits,objectintbbits,objectintrshift,objectintgshift,objectintbshift)- Description
-
Returns the color as an integer. The first three parameters state how many bits to use for red, green and blue respectively. The last three state how many bits each colour should be shifted. For instance, Image.Color("#AABBCC")->bits(8, 8, 8, 16, 8, 0) returns the integer 11189196, that is, 0xAABBCC.