# C1.C1Pdf.C1PdfDocument.FillPath

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Pdf_C1PdfDocument_FillPath_" data-uid="C1.C1Pdf.C1PdfDocument.FillPath*">FillPath Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Pdf_C1PdfDocument_FillPath_" data-uid="C1.C1Pdf.C1PdfDocument.FillPath*"></a>
<h4 id="C1_C1Pdf_C1PdfDocument_FillPath_System_Drawing_Brush_System_Drawing_Drawing2D_GraphicsPath_" data-uid="C1.C1Pdf.C1PdfDocument.FillPath(System.Drawing.Brush,System.Drawing.Drawing2D.GraphicsPath)">FillPath(Brush, GraphicsPath)</h4>
<div class="markdown level1 summary"><p>Fills a path defined by a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.drawing2d.graphicspath">GraphicsPath</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 void FillPath(Brush brush, GraphicsPath path)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub FillPath(brush As Brush, path As GraphicsPath)</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.brush">Brush</a></td>
      <td><span class="parametername">brush</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.brush">Brush</a> used to fill the path.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.drawing2d.graphicspath">GraphicsPath</a></td>
      <td><span class="parametername">path</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.drawing2d.graphicspath">GraphicsPath</a> to fill.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Pdf_C1PdfDocument_FillPath_" data-uid="C1.C1Pdf.C1PdfDocument.FillPath*"></a>
<h4 id="C1_C1Pdf_C1PdfDocument_FillPath_System_Drawing_Color_System_Drawing_PointF___System_Byte___System_Boolean_" data-uid="C1.C1Pdf.C1PdfDocument.FillPath(System.Drawing.Color,System.Drawing.PointF[],System.Byte[],System.Boolean)">FillPath(Color, PointF[], byte[], bool)</h4>
<div class="markdown level1 summary"><p>Fills a path defined by points and types.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void FillPath(Color color, PointF[] points, byte[] types, bool winding)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub FillPath(color As Color, points As PointF(), types As Byte(), winding As Boolean)</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><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.brush">Brush</a> used to fill the path.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.pointf">PointF</a>[]</td>
      <td><span class="parametername">points</span></td>
      <td><p>The path points to fill.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</td>
      <td><span class="parametername">types</span></td>
      <td><p>The path types to fill.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">winding</span></td>
      <td><p>The winding fill mode flag to draw, by default alternate fill mode.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Pdf_C1PdfDocument_FillPath_" data-uid="C1.C1Pdf.C1PdfDocument.FillPath*"></a>
<h4 id="C1_C1Pdf_C1PdfDocument_FillPath_System_Drawing_Brush_System_Drawing_PointF___System_Byte___System_Boolean_" data-uid="C1.C1Pdf.C1PdfDocument.FillPath(System.Drawing.Brush,System.Drawing.PointF[],System.Byte[],System.Boolean)">FillPath(Brush, PointF[], byte[], bool)</h4>
<div class="markdown level1 summary"><p>Fills a path defined by points and types.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void FillPath(Brush brush, PointF[] points, byte[] types, bool winding)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub FillPath(brush As Brush, points As PointF(), types As Byte(), winding As Boolean)</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.brush">Brush</a></td>
      <td><span class="parametername">brush</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.brush">Brush</a> used to fill the path.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.pointf">PointF</a>[]</td>
      <td><span class="parametername">points</span></td>
      <td><p>The path points to fill.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</td>
      <td><span class="parametername">types</span></td>
      <td><p>The path types to fill.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">winding</span></td>
      <td><p>The winding fill mode flag to draw, by default alternate fill mode.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
