# C1.WinUI.Viewer.C1WinUICanvasGraphics.FillPath

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WinUI_Viewer_C1WinUICanvasGraphics_FillPath_" data-uid="C1.WinUI.Viewer.C1WinUICanvasGraphics.FillPath*">FillPath Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WinUI_Viewer_C1WinUICanvasGraphics_FillPath_" data-uid="C1.WinUI.Viewer.C1WinUICanvasGraphics.FillPath*"></a>
<h4 id="C1_WinUI_Viewer_C1WinUICanvasGraphics_FillPath_System_Drawing_Color_C1_Document_Util_IPath_" data-uid="C1.WinUI.Viewer.C1WinUICanvasGraphics.FillPath(System.Drawing.Color,C1.Document.Util.IPath)">FillPath(Color, IPath)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void FillPath(Color color, IPath path)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Sub FillPath(color As Color, path As IPath)</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="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">color</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">IPath</span></td>
      <td><span class="parametername">path</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
