2003-02-12 01:58:46 +00:00
<Type Name= "Color" FullName= "Pango.Color" >
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public struct Color : IEquatable<Pango.Color>" />
<TypeSignature Language= "ILAsm" Value= ".class public sequential ansi sealed beforefieldinit Color extends System.ValueType implements class System.IEquatable`1<valuetype Pango.Color>" />
2003-02-12 01:58:46 +00:00
<AssemblyInfo >
<AssemblyName > pango-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 01:58:46 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2011-11-09 16:01:51 +00:00
<Base >
<BaseTypeName > System.ValueType</BaseTypeName>
</Base>
<Interfaces >
<Interface >
<InterfaceName > System.IEquatable< Pango.Color> </InterfaceName>
</Interface>
</Interfaces>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > This structure is used to represent a color in an uncalibrated RGB colorspace.</summary>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
<Members >
2011-11-09 16:01:51 +00:00
<Member MemberName= "Blue" >
<MemberSignature Language= "C#" Value= "public ushort Blue;" />
<MemberSignature Language= "ILAsm" Value= ".field public unsigned int16 Blue" />
2003-02-12 01:58:46 +00:00
<MemberType > Field</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.UInt16</ReturnType>
2003-02-12 01:58:46 +00:00
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters >
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<summary > The blue component of the color.</summary>
<remarks > This is a value between 0 and 65535, with 65535 indicating full intensity.</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Copy" >
<MemberSignature Language= "C#" Value= "public Pango.Color Copy ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance valuetype Pango.Color Copy() cil managed" />
2003-02-12 01:58:46 +00:00
<MemberType > Method</MemberType>
2011-11-09 16:01:51 +00:00
<Attributes >
<Attribute >
<AttributeName > System.Obsolete("This is a no-op")</AttributeName>
</Attribute>
</Attributes>
2003-02-12 01:58:46 +00:00
<ReturnValue >
<ReturnType > Pango.Color</ReturnType>
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters />
2003-02-12 01:58:46 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Creates a copy of the <see cref= "T:Pango.Color" /> .</summary>
2004-07-17 04:14:39 +00:00
<returns > an object of type <see cref= "T:Pango.Color" /> </returns>
2011-11-09 16:01:51 +00:00
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Equals" >
<MemberSignature Language= "C#" Value= "public bool Equals (Pango.Color other);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance bool Equals(valuetype Pango.Color other) cil managed" />
2003-02-12 01:58:46 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "other" Type= "Pango.Color" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "other" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Equals" >
<MemberSignature Language= "C#" Value= "public override bool Equals (object other);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig virtual instance bool Equals(object other) cil managed" />
2003-02-12 01:58:46 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Boolean</ReturnType>
2003-02-12 01:58:46 +00:00
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters >
<Parameter Name= "other" Type= "System.Object" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "other" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "GetHashCode" >
<MemberSignature Language= "C#" Value= "public override int GetHashCode ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
<MemberType > Method</MemberType>
2003-02-12 01:58:46 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Int32</ReturnType>
2003-02-12 01:58:46 +00:00
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters />
2003-02-12 01:58:46 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Green" >
<MemberSignature Language= "C#" Value= "public ushort Green;" />
<MemberSignature Language= "ILAsm" Value= ".field public unsigned int16 Green" />
2004-02-26 18:46:28 +00:00
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.UInt16</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<summary > The green component of the color.</summary>
2004-07-13 17:20:13 +00:00
<remarks > This is a value between 0 and 65535, with 65535 indicating full intensity.</remarks>
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property valuetype GLib.GType GType" />
<MemberType > Property</MemberType>
2004-02-26 18:46:28 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > GType Property.</summary>
<value > a <see cref= "T:GLib.GType" /> </value>
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Pango.Color" /> .</remarks>
</Docs>
</Member>
<Member MemberName= "New" >
<MemberSignature Language= "C#" Value= "public static Pango.Color New (IntPtr raw);" />
<MemberSignature Language= "ILAsm" Value= ".method public static hidebysig valuetype Pango.Color New(native int raw) cil managed" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Color</ReturnType>
2004-02-26 18:46:28 +00:00
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
2004-02-26 18:46:28 +00:00
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "raw" > an object of type <see cref= "T:System.IntPtr" /> </param>
<summary > Internal method</summary>
<returns > an object of type <see cref= "T:Pango.Color" /> </returns>
<remarks > This is an internal method, and should not be used by user code.</remarks>
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "op_Explicit" >
<MemberSignature Language= "C#" Value= "public static Pango.Color op_Explicit (GLib.Value val);" />
<MemberSignature Language= "ILAsm" Value= ".method public static hidebysig specialname valuetype Pango.Color op_Explicit(valuetype GLib.Value val) cil managed" />
<MemberType > Method</MemberType>
2004-02-26 18:46:28 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > Pango.Color</ReturnType>
2004-02-26 18:46:28 +00:00
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "val" Type= "GLib.Value" />
2004-02-26 18:46:28 +00:00
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "val" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2005-08-23 17:02:47 +00:00
<Member MemberName= "op_Explicit" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public static GLib.Value op_Explicit (Pango.Color boxed);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public static hidebysig specialname valuetype GLib.Value op_Explicit(valuetype Pango.Color boxed) cil managed" />
2005-05-23 20:41:51 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.Value</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "boxed" Type= "Pango.Color" />
</Parameters>
<Docs >
<param name= "boxed" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Parse" >
<MemberSignature Language= "C#" Value= "public bool Parse (string spec);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance bool Parse(string spec) cil managed" />
2005-05-23 20:41:51 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Boolean</ReturnType>
2005-05-23 20:41:51 +00:00
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "spec" Type= "System.String" />
2005-05-23 20:41:51 +00:00
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "spec" > a string specifying the new color</param>
<summary > Fill in the fields of a color from a string specification.</summary>
<returns >
<see langword= "true" /> if parsing of the specifier succeeded, otherwise false.</returns>
<remarks > The string can either one of a large set of standard names. (Taken from the X11 rgb.txt file), or it can be a hex value in the form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the red, green, and blue components of the color, respectively. (White in the four forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')</remarks>
</Docs>
</Member>
<Member MemberName= "Red" >
<MemberSignature Language= "C#" Value= "public ushort Red;" />
<MemberSignature Language= "ILAsm" Value= ".field public unsigned int16 Red" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.UInt16</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
<summary > The red component of the color.</summary>
<remarks > This is a value between 0 and 65535, with 65535 indicating full intensity.</remarks>
</Docs>
</Member>
<Member MemberName= "ToString" >
<MemberSignature Language= "C#" Value= "public override string ToString ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig virtual instance string ToString() cil managed" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-23 20:41:51 +00:00
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
2011-11-09 16:01:51 +00:00
<since version= "Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName= "Zero" >
<MemberSignature Language= "C#" Value= "public static Pango.Color Zero;" />
<MemberSignature Language= "ILAsm" Value= ".field public static valuetype Pango.Color Zero" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > Pango.Color</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Returns an empty <see cref= "T:Pango.Color" /> object.</summary>
<remarks > To be added.</remarks>
2005-05-23 20:41:51 +00:00
</Docs>
</Member>
2003-02-12 01:58:46 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>