# GrapeCity.ActiveReports.Document.Section.DrawCanvas.DrawRoundRect

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Document_Section_DrawCanvas_DrawRoundRect_" data-uid="GrapeCity.ActiveReports.Document.Section.DrawCanvas.DrawRoundRect*">DrawRoundRect Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Document_Section_DrawCanvas_DrawRoundRect_" data-uid="GrapeCity.ActiveReports.Document.Section.DrawCanvas.DrawRoundRect*"></a>
<h4 id="GrapeCity_ActiveReports_Document_Section_DrawCanvas_DrawRoundRect_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Document.Section.DrawCanvas.DrawRoundRect(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single)">DrawRoundRect(float, float, float, float, float, float)</h4>
<div class="markdown level1 summary"><p>DrawRoundRect</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void DrawRoundRect(float left, float top, float width, float height, float edgeWidth, float edgeHeight)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">left</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">top</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">width</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">height</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">edgeWidth</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">edgeHeight</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Document_Section_DrawCanvas_DrawRoundRect_" data-uid="GrapeCity.ActiveReports.Document.Section.DrawCanvas.DrawRoundRect*"></a>
<h4 id="GrapeCity_ActiveReports_Document_Section_DrawCanvas_DrawRoundRect_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Document.Section.DrawCanvas.DrawRoundRect(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single)">DrawRoundRect(float, float, float, float, float, float, float, float, float)</h4>
<div class="markdown level1 summary"><p>Renders a rounded rectangle with different corner radii.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void DrawRoundRect(float left, float top, float width, float height, float topLeftEdge, float topRightEdge, float bottomLeftEdge, float bottomRightEdge, float precision)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>The x-coordinate of the upper-left corner of the rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>The y-coordinate of the upper-left corner of the rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">topLeftEdge</span></td>
      <td><p>The radius of the top-left corner.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">topRightEdge</span></td>
      <td><p>The radius of the top-right corner.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">bottomLeftEdge</span></td>
      <td><p>The radius of the bottom-left corner.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">bottomRightEdge</span></td>
      <td><p>The radius of the bottom-right corner.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">precision</span></td>
      <td><p>Parameter to specify when we should fail back to old round rect with equals corners</p>
</td>
    </tr>
  </tbody>
</table>
</div>
