# C1.C1Preview.RenderArc.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_RenderArc__ctor_" data-uid="C1.C1Preview.RenderArc.#ctor*">RenderArc Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_RenderArc__ctor_" data-uid="C1.C1Preview.RenderArc.#ctor*"></a>
<h4 id="C1_C1Preview_RenderArc__ctor" data-uid="C1.C1Preview.RenderArc.#ctor">RenderArc()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderArc.html">RenderArc</a> class.
The start angle of the arc is set to 0, while the sweep angle is set to 360 degrees,
thus making it a complete ellipse.
The location and size of the arc's ellipse are set to those of the current <a class="xref" href="C1.C1Preview.RenderArc.html">RenderArc</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 RenderArc()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_C1Preview_RenderArc__ctor_" data-uid="C1.C1Preview.RenderArc.#ctor*"></a>
<h4 id="C1_C1Preview_RenderArc__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_" data-uid="C1.C1Preview.RenderArc.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single)">RenderArc(Unit, Unit, float, float)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderArc.html">RenderArc</a> class,
assigning the width, height, and start and sweep angles of the arc.
The location of the arc's ellipse is set to the location of the current <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderArc(Unit width, Unit height, float startAngle, float sweepAngle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(width As Unit, height As Unit, startAngle As Single, sweepAngle 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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the ellipse containing the arc.</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 containing the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">startAngle</span></td>
      <td><p>The angle, in degrees, clockwise from the <b>X</b> axis
to the start of the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">sweepAngle</span></td>
      <td><p>The angle, measured in degrees, clockwise from <code class="paramref">startAngle</code>
to the end of the arc.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderArc__ctor_" data-uid="C1.C1Preview.RenderArc.#ctor*"></a>
<h4 id="C1_C1Preview_RenderArc__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_" data-uid="C1.C1Preview.RenderArc.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef)">RenderArc(Unit, Unit, float, float, LineDef)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderArc.html">RenderArc</a> class,
assigning the width, height, start and sweep angles of the arc,
and the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the arc.
The location of the arc's ellipse is set to the location of the current <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderArc(Unit width, Unit height, float startAngle, float sweepAngle, LineDef shapeLine)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, 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 containing the arc.</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 containing the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">startAngle</span></td>
      <td><p>The angle, in degrees, clockwise from the <b>X</b> axis
to the start of the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">sweepAngle</span></td>
      <td><p>The angle, measured in degrees, clockwise from <code class="paramref">startAngle</code>
to the end of the arc.</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 arc.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderArc__ctor_" data-uid="C1.C1Preview.RenderArc.#ctor*"></a>
<h4 id="C1_C1Preview_RenderArc__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Windows_Media_Color_" data-uid="C1.C1Preview.RenderArc.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef,System.Windows.Media.Color)">RenderArc(Unit, Unit, float, float, LineDef, Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderArc.html">RenderArc</a> class,
assigning the width, height, start and sweep angles of the arc,
the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the arc,
and the color used to fill the segment formed by the arc and a line connecting its ends.
The location of the arc's ellipse is set to the location of the current <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderArc(Unit width, Unit height, float startAngle, float sweepAngle, 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, startAngle As Single, sweepAngle As Single, 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 containing the arc.</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 containing the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">startAngle</span></td>
      <td><p>The angle, in degrees, clockwise from the <b>X</b> axis
to the start of the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">sweepAngle</span></td>
      <td><p>The angle, measured in degrees, clockwise from <code class="paramref">startAngle</code>
to the end of the arc.</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 arc.</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_RenderArc__ctor_" data-uid="C1.C1Preview.RenderArc.#ctor*"></a>
<h4 id="C1_C1Preview_RenderArc__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Windows_Media_Brush_" data-uid="C1.C1Preview.RenderArc.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef,System.Windows.Media.Brush)">RenderArc(Unit, Unit, float, float, LineDef, Brush)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderArc.html">RenderArc</a> class,
assigning the width, height, start and sweep angles of the arc,
the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the arc,
and the brush used to fill the segment formed by the arc and a line connecting its ends.
The location of the arc's ellipse is set to the location of the current <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderArc(Unit width, Unit height, float startAngle, float sweepAngle, 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, startAngle As Single, sweepAngle As Single, 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 containing the arc.</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 containing the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">startAngle</span></td>
      <td><p>The angle, in degrees, clockwise from the <b>X</b> axis
to the start of the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">sweepAngle</span></td>
      <td><p>The angle, measured in degrees, clockwise from <code class="paramref">startAngle</code>
to the end of the arc.</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 arc.</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_RenderArc__ctor_" data-uid="C1.C1Preview.RenderArc.#ctor*"></a>
<h4 id="C1_C1Preview_RenderArc__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_" data-uid="C1.C1Preview.RenderArc.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single)">RenderArc(Unit, Unit, Unit, Unit, float, float)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderArc.html">RenderArc</a> class,
assigning the location, size, and start and sweep angles of the arc.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderArc(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle)</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, startAngle As Single, sweepAngle 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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The <b>X</b> coordinate of the ellipse containing the arc.</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 containing the arc.</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 containing the arc.</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 containing the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">startAngle</span></td>
      <td><p>The angle, in degrees, clockwise from the <b>X</b> axis
to the start of the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">sweepAngle</span></td>
      <td><p>The angle, measured in degrees, clockwise from <code class="paramref">startAngle</code>
to the end of the arc.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderArc__ctor_" data-uid="C1.C1Preview.RenderArc.#ctor*"></a>
<h4 id="C1_C1Preview_RenderArc__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_" data-uid="C1.C1Preview.RenderArc.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef)">RenderArc(Unit, Unit, Unit, Unit, float, float, LineDef)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderArc.html">RenderArc</a> class,
assigning the location, size, and start and sweep angles of the arc,
and the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the arc.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderArc(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, 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, startAngle As Single, sweepAngle As Single, 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 containing the arc.</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 containing the arc.</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 containing the arc.</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 containing the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">startAngle</span></td>
      <td><p>The angle, in degrees, clockwise from the <b>X</b> axis
to the start of the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">sweepAngle</span></td>
      <td><p>The angle, measured in degrees, clockwise from <code class="paramref">startAngle</code>
to the end of the arc.</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 arc.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderArc__ctor_" data-uid="C1.C1Preview.RenderArc.#ctor*"></a>
<h4 id="C1_C1Preview_RenderArc__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Windows_Media_Color_" data-uid="C1.C1Preview.RenderArc.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef,System.Windows.Media.Color)">RenderArc(Unit, Unit, Unit, Unit, float, float, LineDef, Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderArc.html">RenderArc</a> class,
assigning the location, size, and start and sweep angles of the arc,
the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the arc,
and the color used to fill the segment formed by the arc and a line connecting its ends.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderArc(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, 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, startAngle As Single, sweepAngle As Single, 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 containing the arc.</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 containing the arc.</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 containing the arc.</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 containing the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">startAngle</span></td>
      <td><p>The angle, in degrees, clockwise from the <b>X</b> axis
to the start of the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">sweepAngle</span></td>
      <td><p>The angle, measured in degrees, clockwise from <code class="paramref">startAngle</code>
to the end of the arc.</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 arc.</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_RenderArc__ctor_" data-uid="C1.C1Preview.RenderArc.#ctor*"></a>
<h4 id="C1_C1Preview_RenderArc__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Windows_Media_Brush_" data-uid="C1.C1Preview.RenderArc.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef,System.Windows.Media.Brush)">RenderArc(Unit, Unit, Unit, Unit, float, float, LineDef, Brush)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderArc.html">RenderArc</a> class,
assigning the location, size, and start and sweep angles of the arc,
the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the arc,
and the brush used to fill the segment formed by the arc and a line connecting its ends.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderArc(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, 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, startAngle As Single, sweepAngle As Single, 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 containing the arc.</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 containing the arc.</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 containing the arc.</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 containing the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">startAngle</span></td>
      <td><p>The angle, in degrees, clockwise from the <b>X</b> axis
to the start of the arc.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">sweepAngle</span></td>
      <td><p>The angle, measured in degrees, clockwise from <code class="paramref">startAngle</code>
to the end of the arc.</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 arc.</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>
