# GrapeCity.Drawing.IDrawingContext.DrawEllipse

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Drawing_IDrawingContext_DrawEllipse_" data-uid="GrapeCity.Drawing.IDrawingContext.DrawEllipse*">DrawEllipse Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Drawing_IDrawingContext_DrawEllipse_" data-uid="GrapeCity.Drawing.IDrawingContext.DrawEllipse*"></a>
<h4 id="GrapeCity_Drawing_IDrawingContext_DrawEllipse_GrapeCity_Drawing_Brush_GrapeCity_Drawing_Pen_GrapeCity_Drawing_Point_System_Double_System_Double_" data-uid="GrapeCity.Drawing.IDrawingContext.DrawEllipse(GrapeCity.Drawing.Brush,GrapeCity.Drawing.Pen,GrapeCity.Drawing.Point,System.Double,System.Double)">DrawEllipse(Brush, Pen, Point, double, double)</h4>
<div class="markdown level1 summary"><p>Draws an ellipse with the specified Brush and Pen.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void DrawEllipse(Brush brush, Pen pen, Point center, double radiusX, double radiusY)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub DrawEllipse(brush As Brush, pen As Pen, center As Point, radiusX As Double, radiusY 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="GrapeCity.Drawing.Brush.html">Brush</a></td>
      <td><span class="parametername">brush</span></td>
      <td><p>The brush with which to fill the ellipse. This is optional, and can be null. If the brush is null, no fill is drawn.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Drawing.Pen.html">Pen</a></td>
      <td><span class="parametername">pen</span></td>
      <td><p>The pen with which to stroke the ellipse. This is optional, and can be null. If the pen is null, no stroke is drawn.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Drawing.Point.html">Point</a></td>
      <td><span class="parametername">center</span></td>
      <td><p>The location of the center of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">radiusX</span></td>
      <td><p>The horizontal radius of the ellipse.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">radiusY</span></td>
      <td><p>The vertical radius of the ellipse.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
