# C1.Util.DX.Direct2D.RenderTarget.DrawEllipse

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_RenderTarget_DrawEllipse_" data-uid="C1.Util.DX.Direct2D.RenderTarget.DrawEllipse*">DrawEllipse Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_RenderTarget_DrawEllipse_" data-uid="C1.Util.DX.Direct2D.RenderTarget.DrawEllipse*"></a>
<h4 id="C1_Util_DX_Direct2D_RenderTarget_DrawEllipse_C1_Util_DX_Direct2D_Ellipse_C1_Util_DX_Direct2D_Brush_System_Single_C1_Util_DX_Direct2D_StrokeStyle_" data-uid="C1.Util.DX.Direct2D.RenderTarget.DrawEllipse(C1.Util.DX.Direct2D.Ellipse,C1.Util.DX.Direct2D.Brush,System.Single,C1.Util.DX.Direct2D.StrokeStyle)">DrawEllipse(Ellipse, Brush, float, StrokeStyle)</h4>
<div class="markdown level1 summary"><p>void ID2D1RenderTarget::DrawEllipse([In] const D2D1_ELLIPSE* ellipse,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void DrawEllipse(Ellipse ellipse, Brush brush, float strokeWidth, StrokeStyle strokeStyle = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub DrawEllipse(ellipse As Ellipse, brush As Brush, strokeWidth As Single, Optional strokeStyle As StrokeStyle = Nothing)</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.Util.DX.Direct2D.Ellipse.html">Ellipse</a></td>
      <td><span class="parametername">ellipse</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.Brush.html">Brush</a></td>
      <td><span class="parametername">brush</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">strokeWidth</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.StrokeStyle.html">StrokeStyle</a></td>
      <td><span class="parametername">strokeStyle</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_RenderTarget_DrawEllipse_" data-uid="C1.Util.DX.Direct2D.RenderTarget.DrawEllipse*"></a>
<h4 id="C1_Util_DX_Direct2D_RenderTarget_DrawEllipse_C1_Util_DX_Direct2D_Ellipse__C1_Util_DX_Direct2D_Brush_System_Single_C1_Util_DX_Direct2D_StrokeStyle_" data-uid="C1.Util.DX.Direct2D.RenderTarget.DrawEllipse(C1.Util.DX.Direct2D.Ellipse@,C1.Util.DX.Direct2D.Brush,System.Single,C1.Util.DX.Direct2D.StrokeStyle)">DrawEllipse(ref Ellipse, Brush, float, StrokeStyle)</h4>
<div class="markdown level1 summary"><p>void ID2D1RenderTarget::DrawEllipse([In] const D2D1_ELLIPSE* ellipse,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[CLSCompliant(false)]
public void DrawEllipse(ref Ellipse ellipse, Brush brush, float strokeWidth, StrokeStyle strokeStyle = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;CLSCompliant(False)&gt;
Public Sub DrawEllipse(ByRef ellipse As Ellipse, brush As Brush, strokeWidth As Single, Optional strokeStyle As StrokeStyle = Nothing)</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.Util.DX.Direct2D.Ellipse.html">Ellipse</a></td>
      <td><span class="parametername">ellipse</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.Brush.html">Brush</a></td>
      <td><span class="parametername">brush</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">strokeWidth</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.StrokeStyle.html">StrokeStyle</a></td>
      <td><span class="parametername">strokeStyle</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
