public static ConvolutionColor FromArgb(int argb)
		{
			ConvolutionColor result = new ConvolutionColor();
			argb &= 0x00FFFFFF;
			result.R = argb >> 16;
			result.G = argb >> 8 & 0xFF;
			result.B = argb & 0xFF;
			return result;
		}
Beispiel #2
0
        public static ConvolutionColor FromArgb(int argb)
        {
            ConvolutionColor result = new ConvolutionColor();

            argb    &= 0x00FFFFFF;
            result.R = argb >> 16;
            result.G = argb >> 8 & 0xFF;
            result.B = argb & 0xFF;
            return(result);
        }