Axiom.Core.ColorEx.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
		public override string ToString()
		{
			return this.To_0_255_String();
		}

Usage Example

Ejemplo n.º 1
0
        public void ColorExSetBytes()
        {
            ColorEx expected = new ColorEx(ColorEx.BurlyWood);

            byte[] data = new byte[]
                              {
                                  0, 0, 128, 63, 222, 222, 94, 63, 184, 184, 56, 63, 136, 135, 7, 63 
                              };
            ColorEx actual = BitConverterEx.SetBytes<ColorEx>(data);

            Assert.AreEqual(expected.ToString(), actual.ToString());
        }