GtkSharp/gdk/Color.custom
Gonzalo Paniagua Javier 9360454d79 2003-02-13 Stefan Sarin <gprojects@saring.de>
* gdk/Color.custom: fixed ToString ().

svn path=/trunk/gtk-sharp/; revision=11545
2003-02-13 03:10:22 +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}/{1:x}/{2:x}", red, green, blue);
}