NewTOAPIA.Graphics.RGBd.RGBd C# (CSharp) Méthode

RGBd() public méthode

public RGBd ( byte bytes ) : System
bytes byte
Résultat 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