# C1.C1Preview.RenderEllipse.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_RenderEllipse__ctor_" data-uid="C1.C1Preview.RenderEllipse.#ctor*">RenderEllipse Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_RenderEllipse__ctor_" data-uid="C1.C1Preview.RenderEllipse.#ctor*"></a>
<h4 id="C1_C1Preview_RenderEllipse__ctor" data-uid="C1.C1Preview.RenderEllipse.#ctor">RenderEllipse()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a> class.
The location and size of the ellipse are set to those of the current <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderEllipse()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_C1Preview_RenderEllipse__ctor_" data-uid="C1.C1Preview.RenderEllipse.#ctor*"></a>
<h4 id="C1_C1Preview_RenderEllipse__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_" data-uid="C1.C1Preview.RenderEllipse.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit)">RenderEllipse(Unit, Unit)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a> class,
assigning the width and height of the ellipse.
The location of the ellipse is set to the location of the current <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderEllipse(Unit width, Unit height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(width As Unit, height As Unit)</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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the ellipse.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderEllipse__ctor_" data-uid="C1.C1Preview.RenderEllipse.#ctor*"></a>
<h4 id="C1_C1Preview_RenderEllipse__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_LineDef_" data-uid="C1.C1Preview.RenderEllipse.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.LineDef)">RenderEllipse(Unit, Unit, LineDef)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a> class,
assigning the width and height of the ellipse, and the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw it.
The location of the ellipse is set to the location of the current <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderEllipse(Unit width, Unit height, LineDef shapeLine)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(width As Unit, height As Unit, shapeLine As LineDef)</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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a></td>
      <td><span class="parametername">shapeLine</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the ellipse.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderEllipse__ctor_" data-uid="C1.C1Preview.RenderEllipse.#ctor*"></a>
<h4 id="C1_C1Preview_RenderEllipse__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_LineDef_System_Windows_Media_Color_" data-uid="C1.C1Preview.RenderEllipse.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.LineDef,System.Windows.Media.Color)">RenderEllipse(Unit, Unit, LineDef, Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a> class,
assigning the width and height of the ellipse, the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw it, and the fill color.
The location of the ellipse is set to the location of the current <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderEllipse(Unit width, Unit height, LineDef shapeLine, Color shapeFillColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(width As Unit, height As Unit, shapeLine As LineDef, shapeFillColor As Color)</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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a></td>
      <td><span class="parametername">shapeLine</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">shapeFillColor</span></td>
      <td><p>The fill color.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderEllipse__ctor_" data-uid="C1.C1Preview.RenderEllipse.#ctor*"></a>
<h4 id="C1_C1Preview_RenderEllipse__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_LineDef_System_Windows_Media_Brush_" data-uid="C1.C1Preview.RenderEllipse.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.LineDef,System.Windows.Media.Brush)">RenderEllipse(Unit, Unit, LineDef, Brush)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a> class,
assigning the width and height of the ellipse, the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw it, and the fill brush.
The location of the ellipse is set to the location of the current <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderEllipse(Unit width, Unit height, LineDef shapeLine, Brush shapeFillBrush)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(width As Unit, height As Unit, shapeLine As LineDef, shapeFillBrush As Brush)</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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a></td>
      <td><span class="parametername">shapeLine</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a></td>
      <td><span class="parametername">shapeFillBrush</span></td>
      <td><p>The fill brush.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderEllipse__ctor_" data-uid="C1.C1Preview.RenderEllipse.#ctor*"></a>
<h4 id="C1_C1Preview_RenderEllipse__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_" data-uid="C1.C1Preview.RenderEllipse.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit)">RenderEllipse(Unit, Unit, Unit, Unit)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a> class,
assigning the location and the size of the ellipse.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderEllipse(Unit x, Unit y, Unit width, Unit height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit)</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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The <b>X</b> coordinate of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The <b>Y</b> coordinate of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the ellipse.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderEllipse__ctor_" data-uid="C1.C1Preview.RenderEllipse.#ctor*"></a>
<h4 id="C1_C1Preview_RenderEllipse__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_LineDef_" data-uid="C1.C1Preview.RenderEllipse.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.LineDef)">RenderEllipse(Unit, Unit, Unit, Unit, LineDef)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a> class,
assigning the location and the size of the ellipse, and the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw it.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderEllipse(Unit x, Unit y, Unit width, Unit height, LineDef shapeLine)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, shapeLine As LineDef)</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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The <b>X</b> coordinate of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The <b>Y</b> coordinate of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a></td>
      <td><span class="parametername">shapeLine</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the ellipse.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderEllipse__ctor_" data-uid="C1.C1Preview.RenderEllipse.#ctor*"></a>
<h4 id="C1_C1Preview_RenderEllipse__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_LineDef_System_Windows_Media_Color_" data-uid="C1.C1Preview.RenderEllipse.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.LineDef,System.Windows.Media.Color)">RenderEllipse(Unit, Unit, Unit, Unit, LineDef, Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a> class,
assigning the location and the size of the ellipse, the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw it, and the fill color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderEllipse(Unit x, Unit y, Unit width, Unit height, LineDef shapeLine, Color shapeFillColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, shapeLine As LineDef, shapeFillColor As Color)</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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The <b>X</b> coordinate of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The <b>Y</b> coordinate of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a></td>
      <td><span class="parametername">shapeLine</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">shapeFillColor</span></td>
      <td><p>The fill color.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderEllipse__ctor_" data-uid="C1.C1Preview.RenderEllipse.#ctor*"></a>
<h4 id="C1_C1Preview_RenderEllipse__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_LineDef_System_Windows_Media_Brush_" data-uid="C1.C1Preview.RenderEllipse.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.LineDef,System.Windows.Media.Brush)">RenderEllipse(Unit, Unit, Unit, Unit, LineDef, Brush)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a> class,
assigning the location and the size of the ellipse, the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw it, and the fill brush.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderEllipse(Unit x, Unit y, Unit width, Unit height, LineDef shapeLine, Brush shapeFillBrush)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, shapeLine As LineDef, shapeFillBrush As Brush)</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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The <b>X</b> coordinate of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The <b>Y</b> coordinate of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a></td>
      <td><span class="parametername">shapeLine</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a></td>
      <td><span class="parametername">shapeFillBrush</span></td>
      <td><p>The fill brush.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
