Pinta.ImageManipulation.ColorBgra.BgraToUInt32 C# (CSharp) Method

BgraToUInt32() public static method

Packs color and alpha values into a 32-bit integer.
public static BgraToUInt32 ( byte b, byte g, byte r, byte a ) : UInt32
b byte
g byte
r byte
a byte
return System.UInt32
        public static UInt32 BgraToUInt32(byte b, byte g, byte r, byte a)
        {
            return (uint)b + ((uint)g << 8) + ((uint)r << 16) + ((uint)a << 24);
        }

Same methods

ColorBgra::BgraToUInt32 ( int b, int g, int r, int a ) : UInt32