GtkSharp/gdk/Color.custom
Miguel de Icaza 71bfd023be 2002-10-08 Miguel de Icaza <miguel@ximian.com>
* gdk/Point.custom: Use (x,y) instead.

	* gdk/Color.custom: Use the X rgb color format specification.

	* gdk/Rectangle.custom: Use the X geometry format for Rectangles.

svn path=/trunk/gtk-sharp/; revision=8066
2002-10-08 16:26:24 +00:00

23 lines
450 B
Plaintext

// Gdk.Color.custom - Gdk Color class customizations
//
// Author: Jasper van Putten <Jaspervp@gmx.net>
//
// (c) 2002 Jasper van Putten
//
// This code is inserted after the automatically generated code.
/// <summary>
/// ToString method
/// </summary>
///
/// <remarks>
/// returns a string representation of this color
///
/// </remarks>
public override string ToString ()
{
return String.Format ("rgb:{0:x}/{0:x}/{0:x}", red, green, blue);
}