<Type Name="IRect" FullName="Art.IRect">
  <TypeSignature Language="C#" Maintainer="auto" Value="public struct IRect" />
  <TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit IRect extends System.ValueType" />
  <AssemblyInfo>
    <AssemblyName>art-sharp</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
    <AssemblyVersion>2.20.0.0</AssemblyVersion>
    <AssemblyVersion>2.24.0.0</AssemblyVersion>
  </AssemblyInfo>
  <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>
  <Base>
    <BaseTypeName>System.ValueType</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>A Structure that suports rectangle with int coordinates.</summary>
    <remarks />
  </Docs>
  <Members>
    <Member MemberName="Copy">
      <MemberSignature Language="C#" Value="public void Copy (Art.IRect src);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Copy(valuetype Art.IRect src) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.24.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="src" Type="Art.IRect" />
      </Parameters>
      <Docs>
        <param name="src">The <see cref="T:Art.IRect" /> that is going to init the current one.</param>
        <summary>Copies the values of the given rectangle, into this one.</summary>
        <remarks>The current rectangle will be a clone of the given one.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Empty">
      <MemberSignature Language="C#" Value="public int Empty ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 Empty() cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.24.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Int32</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>Checks if the rectangle is empty.</summary>
        <returns>True if the rectangle is empty, false otherwise.</returns>
        <remarks>For the rectangle to be empty, x1 has to be smaller or equal to x0, or y0 smaller or equal to y1.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Intersect">
      <MemberSignature Language="C#" Value="public void Intersect (Art.IRect src1, Art.IRect src2);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Intersect(valuetype Art.IRect src1, valuetype Art.IRect src2) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.24.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="src1" Type="Art.IRect" />
        <Parameter Name="src2" Type="Art.IRect" />
      </Parameters>
      <Docs>
        <param name="src1">The first source rectangle used.</param>
        <param name="src2">The second source rectangle used.</param>
        <summary>Finds the intersection of two rectangles and initializes the current one with the result.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="New">
      <MemberSignature Language="C#" Value="public static Art.IRect New (IntPtr raw);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype Art.IRect New(native int raw) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.24.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Art.IRect</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="raw" Type="System.IntPtr" />
      </Parameters>
      <Docs>
        <param name="raw">a <see cref="T:System.IntPtr" /></param>
        <summary>To be added</summary>
        <returns>a <see cref="T:Art.IRect" /></returns>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
    <Member MemberName="Union">
      <MemberSignature Language="C#" Value="public void Union (Art.IRect src1, Art.IRect src2);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Union(valuetype Art.IRect src1, valuetype Art.IRect src2) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.24.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="src1" Type="Art.IRect" />
        <Parameter Name="src2" Type="Art.IRect" />
      </Parameters>
      <Docs>
        <param name="src1">The first source rectangle used.</param>
        <param name="src2">The first source rectangle used.</param>
        <summary>Finds the union of two rectangles and initializes the current one with the result.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="X0">
      <MemberSignature Language="C#" Value="public int X0;" />
      <MemberSignature Language="ILAsm" Value=".field public int32 X0" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.24.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Int32</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The first coordinate of the rectangle on the X axis.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="X1">
      <MemberSignature Language="C#" Value="public int X1;" />
      <MemberSignature Language="ILAsm" Value=".field public int32 X1" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.24.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Int32</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The second coordinate of the rectangle on the X axis.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="Y0">
      <MemberSignature Language="C#" Value="public int Y0;" />
      <MemberSignature Language="ILAsm" Value=".field public int32 Y0" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.24.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Int32</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The first coordinate of the rectangle on the Y axis.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="Y1">
      <MemberSignature Language="C#" Value="public int Y1;" />
      <MemberSignature Language="ILAsm" Value=".field public int32 Y1" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.24.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Int32</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The second coordinate of the rectangle on the Y axis.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="Zero">
      <MemberSignature Language="C#" Value="public static Art.IRect Zero;" />
      <MemberSignature Language="ILAsm" Value=".field public static valuetype Art.IRect Zero" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.24.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Art.IRect</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>To be added</summary>
        <remarks />
      </Docs>
    </Member>
  </Members>
</Type>
