GtkSharp/gdk/Color.custom

23 lines
450 B
Text
Raw Normal View History

// 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);
}