# GrapeCity.Documents.Drawing.CornerRadius

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Drawing_CornerRadius" data-uid="GrapeCity.Documents.Drawing.CornerRadius" class="text-break">CornerRadius Struct
</h1>
  <div class="markdown level0 summary"><p>Represents the corners' radii of a rounded rectangle.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Drawing.html">GrapeCity.Documents.Drawing</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Drawing_CornerRadius_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct CornerRadius</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure CornerRadius</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="GrapeCity_Documents_Drawing_CornerRadius__ctor_System_Single_" data-uid="GrapeCity.Documents.Drawing.CornerRadius.#ctor(System.Single)">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.-ctor.html#GrapeCity_Documents_Drawing_CornerRadius__ctor_System_Single_">CornerRadius(float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.html">CornerRadius</a> structure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius__ctor_System_Single_System_Single_" data-uid="GrapeCity.Documents.Drawing.CornerRadius.#ctor(System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.-ctor.html#GrapeCity_Documents_Drawing_CornerRadius__ctor_System_Single_System_Single_">CornerRadius(float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.html">CornerRadius</a> structure.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.-ctor.html#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)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.html">CornerRadius</a> structure.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_Default" data-uid="GrapeCity.Documents.Drawing.CornerRadius.Default">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.Default.html">Default</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.html">CornerRadius</a> structure defining a rectangle with square corners.</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="GrapeCity_Documents_Drawing_CornerRadius_All" data-uid="GrapeCity.Documents.Drawing.CornerRadius.All">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.All.html#GrapeCity_Documents_Drawing_CornerRadius_All">All</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a single radius value for all corners.
Getting this property when different radii have different values returns null.
Setting this property to null does not have any effect.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_AllX" data-uid="GrapeCity.Documents.Drawing.CornerRadius.AllX">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.AllX.html#GrapeCity_Documents_Drawing_CornerRadius_AllX">AllX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a single X radius value for all corners.
Getting this property when different X radii have different values returns null.
Setting this property to null does not have any effect.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_AllY" data-uid="GrapeCity.Documents.Drawing.CornerRadius.AllY">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.AllY.html#GrapeCity_Documents_Drawing_CornerRadius_AllY">AllY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a single Y radius value for all corners.
Getting this property when different Y radii have different values returns null.
Setting this property to null does not have any effect.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_BottomLeftX" data-uid="GrapeCity.Documents.Drawing.CornerRadius.BottomLeftX">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomLeftX.html#GrapeCity_Documents_Drawing_CornerRadius_BottomLeftX">BottomLeftX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x-radius of the bottom left corner.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_BottomLeftY" data-uid="GrapeCity.Documents.Drawing.CornerRadius.BottomLeftY">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomLeftY.html#GrapeCity_Documents_Drawing_CornerRadius_BottomLeftY">BottomLeftY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the y-radius of the bottom left corner.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_BottomRightX" data-uid="GrapeCity.Documents.Drawing.CornerRadius.BottomRightX">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomRightX.html#GrapeCity_Documents_Drawing_CornerRadius_BottomRightX">BottomRightX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x-radius of the bottom right corner.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_BottomRightY" data-uid="GrapeCity.Documents.Drawing.CornerRadius.BottomRightY">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomRightY.html#GrapeCity_Documents_Drawing_CornerRadius_BottomRightY">BottomRightY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the y-radius of the bottom right corner.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_RoundBottomLeft" data-uid="GrapeCity.Documents.Drawing.CornerRadius.RoundBottomLeft">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.RoundBottomLeft.html#GrapeCity_Documents_Drawing_CornerRadius_RoundBottomLeft">RoundBottomLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether bottom-left corner is round,
i.e. <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomLeftX.html#GrapeCity_Documents_Drawing_CornerRadius_BottomLeftX">BottomLeftX</a> and <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomLeftY.html#GrapeCity_Documents_Drawing_CornerRadius_BottomLeftY">BottomLeftY</a> greater than 0.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_RoundBottomRight" data-uid="GrapeCity.Documents.Drawing.CornerRadius.RoundBottomRight">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.RoundBottomRight.html#GrapeCity_Documents_Drawing_CornerRadius_RoundBottomRight">RoundBottomRight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether bottom-right corner is round,
i.e. <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomRightX.html#GrapeCity_Documents_Drawing_CornerRadius_BottomRightX">BottomRightX</a> and <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.BottomRightY.html#GrapeCity_Documents_Drawing_CornerRadius_BottomRightY">BottomRightY</a> greater than 0.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_RoundTopLeft" data-uid="GrapeCity.Documents.Drawing.CornerRadius.RoundTopLeft">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.RoundTopLeft.html#GrapeCity_Documents_Drawing_CornerRadius_RoundTopLeft">RoundTopLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether top-left corner is round,
i.e. <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopLeftX.html#GrapeCity_Documents_Drawing_CornerRadius_TopLeftX">TopLeftX</a> and <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopLeftY.html#GrapeCity_Documents_Drawing_CornerRadius_TopLeftY">TopLeftY</a> greater than 0.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_RoundTopRight" data-uid="GrapeCity.Documents.Drawing.CornerRadius.RoundTopRight">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.RoundTopRight.html#GrapeCity_Documents_Drawing_CornerRadius_RoundTopRight">RoundTopRight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether top-right corner is round,
i.e. <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopRightX.html#GrapeCity_Documents_Drawing_CornerRadius_TopRightX">TopRightX</a> and <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopRightY.html#GrapeCity_Documents_Drawing_CornerRadius_TopRightY">TopRightY</a> greater than 0.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_TopLeftX" data-uid="GrapeCity.Documents.Drawing.CornerRadius.TopLeftX">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopLeftX.html#GrapeCity_Documents_Drawing_CornerRadius_TopLeftX">TopLeftX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x-radius of the upper left corner.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_TopLeftY" data-uid="GrapeCity.Documents.Drawing.CornerRadius.TopLeftY">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopLeftY.html#GrapeCity_Documents_Drawing_CornerRadius_TopLeftY">TopLeftY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the y-radius of the upper left corner.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_TopRightX" data-uid="GrapeCity.Documents.Drawing.CornerRadius.TopRightX">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopRightX.html#GrapeCity_Documents_Drawing_CornerRadius_TopRightX">TopRightX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x-radius of the upper right corner.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_CornerRadius_TopRightY" data-uid="GrapeCity.Documents.Drawing.CornerRadius.TopRightY">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.TopRightY.html#GrapeCity_Documents_Drawing_CornerRadius_TopRightY">TopRightY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the y-radius of the upper right corner.</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="GrapeCity_Documents_Drawing_CornerRadius_ToString" data-uid="GrapeCity.Documents.Drawing.CornerRadius.ToString">
          <a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.ToString.html#GrapeCity_Documents_Drawing_CornerRadius_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
