2003-02-12 01:57:20 +00:00
<Type Name= "Rectangle" FullName= "Gdk.Rectangle" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public sealed struct Rectangle;" Maintainer= "auto" />
2003-02-12 01:57:20 +00:00
<AssemblyInfo >
<AssemblyName > gdk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 01:57:20 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 01:57:20 +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:57:20 +00:00
<Docs >
2004-06-25 20:58:30 +00:00
<summary > Represents a rectangle with x, y, width and height.</summary>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
<Base >
<BaseTypeName > System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members >
<Member MemberName= "Zero" >
<MemberSignature Language= "C#" Value= "public static Gdk.Rectangle Zero;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > Gdk.Rectangle</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-25 20:58:30 +00:00
<summary > A zero initialized rectangle.</summary>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "New" >
<MemberSignature Language= "C#" Value= "public static Gdk.Rectangle New (IntPtr raw);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Rectangle</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-08-29 04:47:18 +00:00
<summary > Makes a new rectangle.</summary>
2004-11-05 19:03:16 +00:00
<param name= "raw" > An <see cref= "T:IntPtr" /> , the underlying unmanaged C object.</param>
<returns > A <see cref= "T:Gdk.Rectangle" /> </returns>
2004-08-29 04:47:18 +00:00
<remarks > Not for general developer use.</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2003-03-15 22:48:48 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Rectangle (int x, int y, int width, int height);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
2003-03-15 22:48:48 +00:00
<Docs >
2004-06-25 20:58:30 +00:00
<summary > Initializes a rectangle from the given values.</summary>
<param name= "x" > X value.</param>
<param name= "y" > Y value</param>
<param name= "width" > Width of the rectangle.</param>
<param name= "height" > Height of the rectangle</param>
<returns > The initialized rectangle.</returns>
2004-11-05 19:03:16 +00:00
<remarks />
2003-03-15 22:48:48 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "ToString" >
<MemberSignature Language= "C#" Value= "public override string ToString ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-25 20:58:30 +00:00
<summary > Returns a string representation of the rectangle.</summary>
2003-10-28 00:48:23 +00:00
<returns > a <see cref= "T:System.String" /> </returns>
2004-06-25 20:58:30 +00:00
<remarks > This is only intended to be used for debugging purposes.</remarks>
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<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:Gdk.Rectangle" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "X" >
<MemberSignature Language= "C#" Value= "public int X;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-06-25 20:58:30 +00:00
<summary > The X element of the rectangle.</summary>
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "Y" >
<MemberSignature Language= "C#" Value= "public int Y;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-08-29 04:47:18 +00:00
<summary > The Y element of the rectangle.</summary>
2004-11-05 19:03:16 +00:00
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "Width" >
<MemberSignature Language= "C#" Value= "public int Width;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-06-25 20:58:30 +00:00
<summary > The rectangle width</summary>
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "Height" >
<MemberSignature Language= "C#" Value= "public int Height;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-06-25 20:58:30 +00:00
<summary > The rectangle height.</summary>
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2004-05-31 16:52:11 +00:00
<Member MemberName= "Union" >
<MemberSignature Language= "C#" Value= "public Gdk.Rectangle Union (Gdk.Rectangle src2);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Rectangle</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "src2" Type= "Gdk.Rectangle" />
</Parameters>
<Docs >
<summary > Obtains the union of a this <see cref= "T:Gdk.Rectangle" /> and another.</summary>
<param name= "src2" > a <see cref= "T:Gdk.Rectangle" /> </param>
<returns > a <see cref= "T:Gdk.Rectangle" /> representing the union of the two <see cref= "T:Gdk.Rectangle" /> objects.</returns>
<remarks > The result is the smallest <see cref= "T:Gdk.Rectangle" /> that contains both <see cref= "T:Gdk.Rectangle" /> objects within its boundaries.</remarks>
</Docs>
</Member>
<Member MemberName= "Intersect" >
<MemberSignature Language= "C#" Value= "public bool Intersect (Gdk.Rectangle src2, out Gdk.Rectangle dest);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "src2" Type= "Gdk.Rectangle" />
<Parameter Name= "dest" Type= "Gdk.Rectangle&" RefType= "out" />
</Parameters>
<Docs >
<summary > Obtains the intersection of a this <see cref= "T:Gdk.Rectangle" /> and another.</summary>
<param name= "src2" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "dest" > a <see cref= "T:Gdk.Rectangle" /> representing the intersection of this <see cref= "T:Gdk.Rectangle" /> and the src2 <see cref= "T:Gdk.Rectangle" /> </param>
<returns > Returns true if the two <see cref= "T:Gdk.Rectangle" /> objects intersect.</returns>
<remarks > The result is the rectangular region occupied by both source rectanlges.</remarks>
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
</Members>
2004-11-05 19:03:16 +00:00
</Type>