# C1.Util.DX.Direct2D.SimplifiedGeometrySink.EndFigure

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_SimplifiedGeometrySink_EndFigure_" data-uid="C1.Util.DX.Direct2D.SimplifiedGeometrySink.EndFigure*">EndFigure Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_SimplifiedGeometrySink_EndFigure_" data-uid="C1.Util.DX.Direct2D.SimplifiedGeometrySink.EndFigure*"></a>
<h4 id="C1_Util_DX_Direct2D_SimplifiedGeometrySink_EndFigure_C1_Util_DX_Direct2D_FigureEnd_" data-uid="C1.Util.DX.Direct2D.SimplifiedGeometrySink.EndFigure(C1.Util.DX.Direct2D.FigureEnd)">EndFigure(FigureEnd)</h4>
<div class="markdown level1 summary"><p>Ends the current figure; optionally, closes it.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void EndFigure(FigureEnd figureEnd)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub EndFigure(figureEnd As FigureEnd)</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.FigureEnd.html">FigureEnd</a></td>
      <td><span class="parametername">figureEnd</span></td>
      <td><p>A value that indicates whether the current figure is closed. If the figure is closed, a line is drawn between the current point and the start point specified by {{BeginFigure}}.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
