PixelFarm.Drawing.Color.CreatRGB8Packed C# (CSharp) Метод

CreatRGB8Packed() статический публичный Метод

static public CreatRGB8Packed ( int v ) : Color
v int
Результат Color
        static public Color CreatRGB8Packed(int v)
        {
            //argb
            return new Color(255, (byte)((v >> 16) & 0xFF), (byte)((v >> 8) & 0xFF), ((byte)(v & 0xFF)));
        }