2003-02-12 01:58:46 +00:00
<Type Name= "Color" FullName= "Pango.Color" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public sealed struct Color;" Maintainer= "auto" />
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
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 01:58:46 +00:00
<Attributes />
</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>
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>
<Base >
<BaseTypeName > System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members >
<Member MemberName= "Zero" >
<MemberSignature Language= "C#" Value= "public static Pango.Color Zero;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > Pango.Color</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Returns an empty <see cref= "T:Pango.Color" /> object.</summary>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "New" >
<MemberSignature Language= "C#" Value= "public static Pango.Color New (IntPtr raw);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Color</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-17 04:14:39 +00:00
<summary > Internal method</summary>
<param name= "raw" > an object of type <see cref= "T:System.IntPtr" /> </param>
<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>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Parse" >
<MemberSignature Language= "C#" Value= "public bool Parse (string spec);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "spec" Type= "System.String" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Fill in the fields of a color from a string specification.</summary>
<param name= "spec" > a string specifying the new color</param>
<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>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Free" >
<MemberSignature Language= "C#" Value= "public void Free ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-17 17:24:02 +00:00
<summary > Frees a color allocated by <see cref= "M:Pango.Color.Copy()" /> .</summary>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Copy" >
<MemberSignature Language= "C#" Value= "public Pango.Color Copy ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Color</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Creates a copy of the <see cref= "T:Pango.Color" /> .</summary>
<returns > an object of type <see cref= "T:Pango.Color" /> </returns>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "GType" >
2003-12-24 01:35:30 +00:00
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
2003-02-12 01:58:46 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2003-12-24 01:35:30 +00:00
<ReturnType > GLib.GType</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 >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:GLib.GType" /> </returns>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Pango.Color" /> .</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "Red" >
<MemberSignature Language= "C#" Value= "public ushort Red;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.UInt16</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-07-13 17:20:13 +00:00
<summary > The red component of the color.</summary>
<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>
<Member MemberName= "Green" >
<MemberSignature Language= "C#" Value= "public ushort Green;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.UInt16</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-07-13 17:20:13 +00:00
<summary > The green component of the color.</summary>
<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>
<Member MemberName= "Blue" >
<MemberSignature Language= "C#" Value= "public ushort Blue;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.UInt16</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-07-13 17:20:13 +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>
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2003-02-12 01:58:46 +00:00
</Members>
2004-08-24 17:01:00 +00:00
</Type>