# GrapeCity.Documents.Drawing.CornerRadius.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Drawing_CornerRadius__ctor_" data-uid="GrapeCity.Documents.Drawing.CornerRadius.#ctor*">CornerRadius Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Drawing_CornerRadius__ctor_" data-uid="GrapeCity.Documents.Drawing.CornerRadius.#ctor*"></a>
<h4 id="GrapeCity_Documents_Drawing_CornerRadius__ctor_System_Single_" data-uid="GrapeCity.Documents.Drawing.CornerRadius.#ctor(System.Single)">CornerRadius(float)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.html">CornerRadius</a> structure.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CornerRadius(float all)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(all As Single)</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">all</span></td>
      <td><p>The value for all corners.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Drawing_CornerRadius__ctor_" data-uid="GrapeCity.Documents.Drawing.CornerRadius.#ctor*"></a>
<h4 id="GrapeCity_Documents_Drawing_CornerRadius__ctor_System_Single_System_Single_" data-uid="GrapeCity.Documents.Drawing.CornerRadius.#ctor(System.Single,System.Single)">CornerRadius(float, float)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.html">CornerRadius</a> structure.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CornerRadius(float allX, float allY)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(allX As Single, allY As Single)</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">allX</span></td>
      <td><p>The value for all x radii.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">allY</span></td>
      <td><p>The value for all y radii.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Drawing_CornerRadius__ctor_" data-uid="GrapeCity.Documents.Drawing.CornerRadius.#ctor*"></a>
<h4 id="GrapeCity_Documents_Drawing_CornerRadius__ctor_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.Documents.Drawing.CornerRadius.#ctor(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single)">CornerRadius(float, float, float, float, float, float, float, float)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.html">CornerRadius</a> structure.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CornerRadius(float topLeftX, float topLeftY, float topRightX, float topRightY, float bottomLeftX, float bottomLeftY, float bottomRightX, float bottomRightY)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(topLeftX As Single, topLeftY As Single, topRightX As Single, topRightY As Single, bottomLeftX As Single, bottomLeftY As Single, bottomRightX As Single, bottomRightY As Single)</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">topLeftX</span></td>
      <td><p>The value of <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopLeftX.html#GrapeCity_Documents_Drawing_CornerRadius_TopLeftX">TopLeftX</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">topLeftY</span></td>
      <td><p>The value of <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopLeftY.html#GrapeCity_Documents_Drawing_CornerRadius_TopLeftY">TopLeftY</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">topRightX</span></td>
      <td><p>The value of <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopRightX.html#GrapeCity_Documents_Drawing_CornerRadius_TopRightX">TopRightX</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">topRightY</span></td>
      <td><p>The value of <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopRightY.html#GrapeCity_Documents_Drawing_CornerRadius_TopRightY">TopRightY</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">bottomLeftX</span></td>
      <td><p>The value of <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomLeftX.html#GrapeCity_Documents_Drawing_CornerRadius_BottomLeftX">BottomLeftX</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">bottomLeftY</span></td>
      <td><p>The value of <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomLeftY.html#GrapeCity_Documents_Drawing_CornerRadius_BottomLeftY">BottomLeftY</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">bottomRightX</span></td>
      <td><p>The value of <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomRightX.html#GrapeCity_Documents_Drawing_CornerRadius_BottomRightX">BottomRightX</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">bottomRightY</span></td>
      <td><p>The value of <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomRightY.html#GrapeCity_Documents_Drawing_CornerRadius_BottomRightY">BottomRightY</a> property.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
