ColorShift enumeration

Gives the number of bits to shift an ARGB value right to bring a channel to the lowest byte.

The values are used with ColorMask. No public member takes or returns this enumeration.

Member Value Description
AlphaShift 24 The alpha channel is in bits 24 to 31.
RedShift 16 The red channel is in bits 16 to 23.
GreenShift 8 The green channel is in bits 8 to 15.
BlueShift 0 The blue channel is in bits 0 to 7.

See Also