# C1.Document.CornerRadius.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Document_CornerRadius__ctor_" data-uid="C1.Document.CornerRadius.#ctor*">CornerRadius Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Document_CornerRadius__ctor_" data-uid="C1.Document.CornerRadius.#ctor*"></a>
<h4 id="C1_Document_CornerRadius__ctor_System_Double_" data-uid="C1.Document.CornerRadius.#ctor(System.Double)">CornerRadius(double)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Document.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(double all)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(all As Double)</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.double">double</a></td>
      <td><span class="parametername">all</span></td>
      <td><p>The value for all corners.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Document_CornerRadius__ctor_" data-uid="C1.Document.CornerRadius.#ctor*"></a>
<h4 id="C1_Document_CornerRadius__ctor_System_Double_System_Double_" data-uid="C1.Document.CornerRadius.#ctor(System.Double,System.Double)">CornerRadius(double, double)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Document.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(double allX, double allY)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(allX As Double, allY As Double)</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.double">double</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.double">double</a></td>
      <td><span class="parametername">allY</span></td>
      <td><p>The value for all y radii.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Document_CornerRadius__ctor_" data-uid="C1.Document.CornerRadius.#ctor*"></a>
<h4 id="C1_Document_CornerRadius__ctor_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_" data-uid="C1.Document.CornerRadius.#ctor(System.Double,System.Double,System.Double,System.Double,System.Double,System.Double,System.Double,System.Double)">CornerRadius(double, double, double, double, double, double, double, double)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Document.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(double topLeftX, double topLeftY, double topRightX, double topRightY, double bottomLeftX, double bottomLeftY, double bottomRightX, double bottomRightY)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(topLeftX As Double, topLeftY As Double, topRightX As Double, topRightY As Double, bottomLeftX As Double, bottomLeftY As Double, bottomRightX As Double, bottomRightY As Double)</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.double">double</a></td>
      <td><span class="parametername">topLeftX</span></td>
      <td><p>The value of <a class="xref" href="C1.Document.CornerRadius.TopLeftX.html#C1_Document_CornerRadius_TopLeftX">TopLeftX</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">topLeftY</span></td>
      <td><p>The value of <a class="xref" href="C1.Document.CornerRadius.TopLeftY.html#C1_Document_CornerRadius_TopLeftY">TopLeftY</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">topRightX</span></td>
      <td><p>The value of <a class="xref" href="C1.Document.CornerRadius.TopRightX.html#C1_Document_CornerRadius_TopRightX">TopRightX</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">topRightY</span></td>
      <td><p>The value of <a class="xref" href="C1.Document.CornerRadius.TopRightY.html#C1_Document_CornerRadius_TopRightY">TopRightY</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">bottomLeftX</span></td>
      <td><p>The value of <a class="xref" href="C1.Document.CornerRadius.BottomLeftX.html#C1_Document_CornerRadius_BottomLeftX">BottomLeftX</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">bottomLeftY</span></td>
      <td><p>The value of <a class="xref" href="C1.Document.CornerRadius.BottomLeftY.html#C1_Document_CornerRadius_BottomLeftY">BottomLeftY</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">bottomRightX</span></td>
      <td><p>The value of <a class="xref" href="C1.Document.CornerRadius.BottomRightX.html#C1_Document_CornerRadius_BottomRightX">BottomRightX</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">bottomRightY</span></td>
      <td><p>The value of <a class="xref" href="C1.Document.CornerRadius.BottomRightY.html#C1_Document_CornerRadius_BottomRightY">BottomRightY</a> property.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
