CTor
The RGBA-Masks are zero. Using zeros for the RGB-Masks sets a default value, based on the given depth. Using zero for the Alpha-Mask results in an Alpha-Mask of 0.
the alpha mask, default is 0x000000ff
the alpha mask, default is 0xff000000
the blue mask, default is 0x00ff0000
the blue mask, default is 0x0000ff00
the green mask, default is 0x0000ff00
the green mask, default is 0x00ff0000
the red mask, default is 0x000000ff
the red mask, default is 0xff000000
The RGBA-Mask are the bitmasks used to extract that color from a pixel. It is used to e.g. define the background of a newly created Surface. Using zeros for the RGB-Masks sets a default value, based on the depth But using zero for the Aalpha-Mask results in an Alpha-Mask of 0. By default Surfaces with an Alpha-Mask are set up for blending. You can change the blend mode with Surface.setBlendMode.