71bfd023be
* 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
22 lines
450 B
Text
22 lines
450 B
Text
// 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);
|
|
}
|