# C1.Android.Core.C1Rect

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Android_Core_C1Rect" data-uid="C1.Android.Core.C1Rect" class="text-break">C1Rect Struct
</h1>
  <div class="markdown level0 summary"><p>Describes the width, height, and point origin of a rectangle.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Android.Core.html">C1.Android.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.Android.Core.dll</h6>
  <h5 id="C1_Android_Core_C1Rect_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct C1Rect</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure C1Rect</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Android_Core_C1Rect__ctor_C1_Android_Core_C1Point_C1_Android_Core_C1Point_" data-uid="C1.Android.Core.C1Rect.#ctor(C1.Android.Core.C1Point,C1.Android.Core.C1Point)">
          <a class="xref" href="C1.Android.Core.C1Rect.-ctor.html#C1_Android_Core_C1Rect__ctor_C1_Android_Core_C1Point_C1_Android_Core_C1Point_">C1Rect(C1Point, C1Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a <a class="xref" href="C1.Android.Core.C1Rect.html">C1Rect</a> structure that is exactly large enough to contain the two specified points.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect__ctor_C1_Android_Core_C1Point_C1_Android_Core_C1Size_" data-uid="C1.Android.Core.C1Rect.#ctor(C1.Android.Core.C1Point,C1.Android.Core.C1Size)">
          <a class="xref" href="C1.Android.Core.C1Rect.-ctor.html#C1_Android_Core_C1Rect__ctor_C1_Android_Core_C1Point_C1_Android_Core_C1Size_">C1Rect(C1Point, C1Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a <a class="xref" href="C1.Android.Core.C1Rect.html">C1Rect</a> structure based on an origin and size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect__ctor_System_Double_System_Double_System_Double_System_Double_" data-uid="C1.Android.Core.C1Rect.#ctor(System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="C1.Android.Core.C1Rect.-ctor.html#C1_Android_Core_C1Rect__ctor_System_Double_System_Double_System_Double_System_Double_">C1Rect(double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a <a class="xref" href="C1.Android.Core.C1Rect.html">C1Rect</a> structure that has the specified x-coordinate, y-coordinate, width, and height.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Android_Core_C1Rect_Bottom" data-uid="C1.Android.Core.C1Rect.Bottom">
          <a class="xref" href="C1.Android.Core.C1Rect.Bottom.html#C1_Android_Core_C1Rect_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the y-axis value of the bottom of the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Empty" data-uid="C1.Android.Core.C1Rect.Empty">
          <a class="xref" href="C1.Android.Core.C1Rect.Empty.html#C1_Android_Core_C1Rect_Empty">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a special value that represents a rectangle with no position or area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Height" data-uid="C1.Android.Core.C1Rect.Height">
          <a class="xref" href="C1.Android.Core.C1Rect.Height.html#C1_Android_Core_C1Rect_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height of the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_IsEmpty" data-uid="C1.Android.Core.C1Rect.IsEmpty">
          <a class="xref" href="C1.Android.Core.C1Rect.IsEmpty.html#C1_Android_Core_C1Rect_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that indicates whether the rectangle is the C1Rect.Empty rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Left" data-uid="C1.Android.Core.C1Rect.Left">
          <a class="xref" href="C1.Android.Core.C1Rect.Left.html#C1_Android_Core_C1Rect_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the x-axis value of the left side of the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Location" data-uid="C1.Android.Core.C1Rect.Location">
          <a class="xref" href="C1.Android.Core.C1Rect.Location.html#C1_Android_Core_C1Rect_Location">Location</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position of the top-left corner of the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Right" data-uid="C1.Android.Core.C1Rect.Right">
          <a class="xref" href="C1.Android.Core.C1Rect.Right.html#C1_Android_Core_C1Rect_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the x-axis value of the right side of the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Size" data-uid="C1.Android.Core.C1Rect.Size">
          <a class="xref" href="C1.Android.Core.C1Rect.Size.html#C1_Android_Core_C1Rect_Size">Size</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width and height of the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Top" data-uid="C1.Android.Core.C1Rect.Top">
          <a class="xref" href="C1.Android.Core.C1Rect.Top.html#C1_Android_Core_C1Rect_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the y-axis position of the top of the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Width" data-uid="C1.Android.Core.C1Rect.Width">
          <a class="xref" href="C1.Android.Core.C1Rect.Width.html#C1_Android_Core_C1Rect_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_X" data-uid="C1.Android.Core.C1Rect.X">
          <a class="xref" href="C1.Android.Core.C1Rect.X.html#C1_Android_Core_C1Rect_X">X</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x-axis value of the left side of the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Y" data-uid="C1.Android.Core.C1Rect.Y">
          <a class="xref" href="C1.Android.Core.C1Rect.Y.html#C1_Android_Core_C1Rect_Y">Y</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the y-axis value of the top side of the rectangle.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Android_Core_C1Rect_Contains_C1_Android_Core_C1Point_" data-uid="C1.Android.Core.C1Rect.Contains(C1.Android.Core.C1Point)">
          <a class="xref" href="C1.Android.Core.C1Rect.Contains.html#C1_Android_Core_C1Rect_Contains_C1_Android_Core_C1Point_">Contains(C1Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the rectangle described by the C1Rect contains the specified point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Contains_C1_Android_Core_C1Rect_" data-uid="C1.Android.Core.C1Rect.Contains(C1.Android.Core.C1Rect)">
          <a class="xref" href="C1.Android.Core.C1Rect.Contains.html#C1_Android_Core_C1Rect_Contains_C1_Android_Core_C1Rect_">Contains(C1Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the rectangle contains the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Equals_System_Object_" data-uid="C1.Android.Core.C1Rect.Equals(System.Object)">
          <a class="xref" href="C1.Android.Core.C1Rect.Equals.html#C1_Android_Core_C1Rect_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, is equal to this instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_GetHashCode" data-uid="C1.Android.Core.C1Rect.GetHashCode">
          <a class="xref" href="C1.Android.Core.C1Rect.GetHashCode.html#C1_Android_Core_C1Rect_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Inflate_C1_Android_Core_C1Size_" data-uid="C1.Android.Core.C1Rect.Inflate(C1.Android.Core.C1Size)">
          <a class="xref" href="C1.Android.Core.C1Rect.Inflate.html#C1_Android_Core_C1Rect_Inflate_C1_Android_Core_C1Size_">Inflate(C1Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the rectangle that results from expanding the specified rectangle by the specified Size, in all directions.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Inflate_System_Double_System_Double_" data-uid="C1.Android.Core.C1Rect.Inflate(System.Double,System.Double)">
          <a class="xref" href="C1.Android.Core.C1Rect.Inflate.html#C1_Android_Core_C1Rect_Inflate_System_Double_System_Double_">Inflate(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Inflates the rectangle that results from expanding the specified rectangle by the specified width and height, in all directions.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Intersect_C1_Android_Core_C1Rect_" data-uid="C1.Android.Core.C1Rect.Intersect(C1.Android.Core.C1Rect)">
          <a class="xref" href="C1.Android.Core.C1Rect.Intersect.html#C1_Android_Core_C1Rect_Intersect_C1_Android_Core_C1Rect_">Intersect(C1Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Finds the intersection of the rectangle represented by the C1Rect and the rectangle represented by the specified C1Rect, and stores the result as the current C1Rect.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_IntersectsWith_C1_Android_Core_C1Rect_" data-uid="C1.Android.Core.C1Rect.IntersectsWith(C1.Android.Core.C1Rect)">
          <a class="xref" href="C1.Android.Core.C1Rect.IntersectsWith.html#C1_Android_Core_C1Rect_IntersectsWith_C1_Android_Core_C1Rect_">IntersectsWith(C1Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the specified rectangle intersects with the current rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Offset_C1_Android_Core_C1Rect_System_Double_System_Double_" data-uid="C1.Android.Core.C1Rect.Offset(C1.Android.Core.C1Rect,System.Double,System.Double)">
          <a class="xref" href="C1.Android.Core.C1Rect.Offset.html#C1_Android_Core_C1Rect_Offset_C1_Android_Core_C1Rect_System_Double_System_Double_">Offset(C1Rect, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a rectangle that is offset from the specified rectangle by using the specified horizontal and vertical amounts.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Offset_System_Double_System_Double_" data-uid="C1.Android.Core.C1Rect.Offset(System.Double,System.Double)">
          <a class="xref" href="C1.Android.Core.C1Rect.Offset.html#C1_Android_Core_C1Rect_Offset_System_Double_System_Double_">Offset(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves the rectangle by the specified horizontal and vertical amounts.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_ToString" data-uid="C1.Android.Core.C1Rect.ToString">
          <a class="xref" href="C1.Android.Core.C1Rect.ToString.html#C1_Android_Core_C1Rect_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a string representation of <a class="xref" href="C1.Android.Core.C1Rect.html">C1Rect</a></p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Union_C1_Android_Core_C1Point_" data-uid="C1.Android.Core.C1Rect.Union(C1.Android.Core.C1Point)">
          <a class="xref" href="C1.Android.Core.C1Rect.Union.html#C1_Android_Core_C1Rect_Union_C1_Android_Core_C1Point_">Union(C1Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Expands the rectangle represented by the current C1Rect exactly enough to contain the specified point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Union_C1_Android_Core_C1Rect_" data-uid="C1.Android.Core.C1Rect.Union(C1.Android.Core.C1Rect)">
          <a class="xref" href="C1.Android.Core.C1Rect.Union.html#C1_Android_Core_C1Rect_Union_C1_Android_Core_C1Rect_">Union(C1Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Expands the rectangle represented by the current C1Rect exactly enough to contain the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_Union_C1_Android_Core_C1Rect_C1_Android_Core_C1Rect_" data-uid="C1.Android.Core.C1Rect.Union(C1.Android.Core.C1Rect,C1.Android.Core.C1Rect)">
          <a class="xref" href="C1.Android.Core.C1Rect.Union.html#C1_Android_Core_C1Rect_Union_C1_Android_Core_C1Rect_C1_Android_Core_C1Rect_">Union(C1Rect, C1Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a new rectangle exactly enough to contain the specified rectangles.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Android_Core_C1Rect_op_Equality_C1_Android_Core_C1Rect_C1_Android_Core_C1Rect_" data-uid="C1.Android.Core.C1Rect.op_Equality(C1.Android.Core.C1Rect,C1.Android.Core.C1Rect)">
          <a class="xref" href="C1.Android.Core.C1Rect.op_Equality.html#C1_Android_Core_C1Rect_op_Equality_C1_Android_Core_C1Rect_C1_Android_Core_C1Rect_">operator ==(C1Rect, C1Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares two C1Rect structures for equality.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Rect_op_Inequality_C1_Android_Core_C1Rect_C1_Android_Core_C1Rect_" data-uid="C1.Android.Core.C1Rect.op_Inequality(C1.Android.Core.C1Rect,C1.Android.Core.C1Rect)">
          <a class="xref" href="C1.Android.Core.C1Rect.op_Inequality.html#C1_Android_Core_C1Rect_op_Inequality_C1_Android_Core_C1Rect_C1_Android_Core_C1Rect_">operator !=(C1Rect, C1Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares two C1Rect structures for inequality.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
