AForge.Imaging.RGB.RGB C# (CSharp) Method

RGB() public method

Initializes a new instance of the RGB class.
public RGB ( System color ) : System
color System Initialize from specified color.
return System
        public RGB( System.Drawing.Color color )
        {
            this.Red   = color.R;
            this.Green = color.G;
            this.Blue  = color.B;
            this.Alpha = color.A;
        }
    }

Same methods

RGB::RGB ( ) : System
RGB::RGB ( byte red, byte green, byte blue ) : System
RGB::RGB ( byte red, byte green, byte blue, byte alpha ) : System
RGB