NewTOAPIA.Graphics.RGBd.RGBd C# (CSharp) Method

RGBd() public method

public RGBd ( byte bytes ) : System
bytes byte
return System
        public RGBd(byte[] bytes)
        {
            int startIndex = 0;
            red = BitConverter.ToDouble(bytes, startIndex + 0);
            green = BitConverter.ToDouble(bytes, startIndex + (1 * sizeof(double)));
            blue = BitConverter.ToDouble(bytes, startIndex + (2 * sizeof(double)));

        }
        #endregion

Same methods

RGBd::RGBd ( double gray ) : System
RGBd::RGBd ( double red, double green, double blue ) : System