2002-10-08 06:49:11 +00:00
|
|
|
// 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 ()
|
|
|
|
{
|
2002-10-08 16:26:24 +00:00
|
|
|
return String.Format ("rgb:{0:x}/{0:x}/{0:x}", red, green, blue);
|
2002-10-08 06:49:11 +00:00
|
|
|
}
|