Creates an sRGB color with the specified combined RGBA value consisting
of the alpha component in bits 24-31, the red component in bits 16-23,
the green component in bits 8-15, and the blue component in bits 0-7.
If the hasalpha argument is false, alpha
is defaulted to 255.
rgba | the combined RGBA components | |
hasalpha | true if the alpha bits are valid;
false otherwise |
java.awt.image.ColorModel.getRGBdefault, getRed, getGreen, getBlue, getAlpha, getRGB
Diagram: Paint