# C1.Web.Api.Document.Models.Rect

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Api_Document_Models_Rect" data-uid="C1.Web.Api.Document.Models.Rect" class="text-break">Rect Class
</h1>
  <div class="markdown level0 summary"><p>Represents the location and size of a rectangle.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">Rect</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Api.Document.Models.html">C1.Web.Api.Document.Models</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Api.Document.dll</h6>
  <h5 id="C1_Web_Api_Document_Models_Rect_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Rect</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Rect</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_Web_Api_Document_Models_Rect__ctor_System_Double_System_Double_System_Double_System_Double_" data-uid="C1.Web.Api.Document.Models.Rect.#ctor(System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="C1.Web.Api.Document.Models.Rect.-ctor.html#C1_Web_Api_Document_Models_Rect__ctor_System_Double_System_Double_System_Double_System_Double_">Rect(double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="C1.Web.Api.Document.Models.Rect.html">Rect</a> object.</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_Web_Api_Document_Models_Rect_Height" data-uid="C1.Web.Api.Document.Models.Rect.Height">
          <a class="xref" href="C1.Web.Api.Document.Models.Rect.Height.html#C1_Web_Api_Document_Models_Rect_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the height of the rect.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Api_Document_Models_Rect_Width" data-uid="C1.Web.Api.Document.Models.Rect.Width">
          <a class="xref" href="C1.Web.Api.Document.Models.Rect.Width.html#C1_Web_Api_Document_Models_Rect_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width of the rect.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Api_Document_Models_Rect_X" data-uid="C1.Web.Api.Document.Models.Rect.X">
          <a class="xref" href="C1.Web.Api.Document.Models.Rect.X.html#C1_Web_Api_Document_Models_Rect_X">X</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the x-coordinate of the upper-left corner of the rect.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Api_Document_Models_Rect_Y" data-uid="C1.Web.Api.Document.Models.Rect.Y">
          <a class="xref" href="C1.Web.Api.Document.Models.Rect.Y.html#C1_Web_Api_Document_Models_Rect_Y">Y</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the y-coordinate of the upper-left corner of the rect.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
