Link to home
Start Free TrialLog in
Avatar of aja101498
aja101498

asked on

color in java ! easy question

To represent colorin java, the int is treated in four parts. From left to right, the first 4 bits (AKA nibble) corresponds to opacity, the second red, third green, forth blue.

What is AKA nibble please ?

Thanks a lot.

Aja
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Although actually, Java internally manages colour with an int, so there is a full byte for each of the 4 parts. An int, in Java, is a 4 byte quantity.
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area that this question is:

- points to objects

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer