# GrapeCity.Documents.Imaging.PathBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Imaging_PathBuilder" data-uid="GrapeCity.Documents.Imaging.PathBuilder" class="text-break">PathBuilder Class
</h1>
  <div class="markdown level0 summary"><p>A helper class for creating <a class="xref" href="GrapeCity.Documents.Imaging.GraphicsPath.html">GraphicsPath</a> objects.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">PathBuilder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Imaging.html">GrapeCity.Documents.Imaging</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Imaging_PathBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PathBuilder</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PathBuilder</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder__ctor" data-uid="GrapeCity.Documents.Imaging.PathBuilder.#ctor">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.-ctor.html#GrapeCity_Documents_Imaging_PathBuilder__ctor">PathBuilder()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.html">PathBuilder</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_FigureHasSegments" data-uid="GrapeCity.Documents.Imaging.PathBuilder.FigureHasSegments">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.FigureHasSegments.html#GrapeCity_Documents_Imaging_PathBuilder_FigureHasSegments">FigureHasSegments</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating if the active figure contains one or more segments.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_FigureStarted" data-uid="GrapeCity.Documents.Imaging.PathBuilder.FigureStarted">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.FigureStarted.html#GrapeCity_Documents_Imaging_PathBuilder_FigureStarted">FigureStarted</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating if there is an active figure to update.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_Figures" data-uid="GrapeCity.Documents.Imaging.PathBuilder.Figures">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.Figures.html#GrapeCity_Documents_Imaging_PathBuilder_Figures">Figures</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the list of figures to be converted to a path.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_AddArc_GrapeCity_Documents_Drawing_ArcSegment_" data-uid="GrapeCity.Documents.Imaging.PathBuilder.AddArc(GrapeCity.Documents.Drawing.ArcSegment)">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.AddArc.html#GrapeCity_Documents_Imaging_PathBuilder_AddArc_GrapeCity_Documents_Drawing_ArcSegment_">AddArc(ArcSegment)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a single arc to the path geometry.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_AddCubicBezier_System_Drawing_PointF_System_Drawing_PointF_System_Drawing_PointF_" data-uid="GrapeCity.Documents.Imaging.PathBuilder.AddCubicBezier(System.Drawing.PointF,System.Drawing.PointF,System.Drawing.PointF)">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.AddCubicBezier.html#GrapeCity_Documents_Imaging_PathBuilder_AddCubicBezier_System_Drawing_PointF_System_Drawing_PointF_System_Drawing_PointF_">AddCubicBezier(PointF, PointF, PointF)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a cubic Bezier curve and adds it to the figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_AddCubicBeziers_System_Drawing_PointF___" data-uid="GrapeCity.Documents.Imaging.PathBuilder.AddCubicBeziers(System.Drawing.PointF[])">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.AddCubicBeziers.html#GrapeCity_Documents_Imaging_PathBuilder_AddCubicBeziers_System_Drawing_PointF___">AddCubicBeziers(params PointF[])</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a sequence of cubic Bezier curves and adds them to the figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_AddFigure_GrapeCity_Documents_Imaging_IFigure_" data-uid="GrapeCity.Documents.Imaging.PathBuilder.AddFigure(GrapeCity.Documents.Imaging.IFigure)">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.AddFigure.html#GrapeCity_Documents_Imaging_PathBuilder_AddFigure_GrapeCity_Documents_Imaging_IFigure_">AddFigure(IFigure)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an existing figure to the path.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_AddFigures_GrapeCity_Documents_Imaging_IFigure___" data-uid="GrapeCity.Documents.Imaging.PathBuilder.AddFigures(GrapeCity.Documents.Imaging.IFigure[])">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.AddFigures.html#GrapeCity_Documents_Imaging_PathBuilder_AddFigures_GrapeCity_Documents_Imaging_IFigure___">AddFigures(params IFigure[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds one or several existing figures to the path.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_AddLine_System_Drawing_PointF_" data-uid="GrapeCity.Documents.Imaging.PathBuilder.AddLine(System.Drawing.PointF)">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.AddLine.html#GrapeCity_Documents_Imaging_PathBuilder_AddLine_System_Drawing_PointF_">AddLine(PointF)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a line segment between the current point and the specified end point and adds it to the figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_AddLine_System_Single_System_Single_" data-uid="GrapeCity.Documents.Imaging.PathBuilder.AddLine(System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.AddLine.html#GrapeCity_Documents_Imaging_PathBuilder_AddLine_System_Single_System_Single_">AddLine(float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a line segment between the current point and the specified end point and adds it to the figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_AddLines_System_Drawing_PointF___" data-uid="GrapeCity.Documents.Imaging.PathBuilder.AddLines(System.Drawing.PointF[])">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.AddLines.html#GrapeCity_Documents_Imaging_PathBuilder_AddLines_System_Drawing_PointF___">AddLines(params PointF[])</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a sequence of lines using the specified points and adds them to the figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_AddQuadraticBezier_System_Drawing_PointF_System_Drawing_PointF_" data-uid="GrapeCity.Documents.Imaging.PathBuilder.AddQuadraticBezier(System.Drawing.PointF,System.Drawing.PointF)">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.AddQuadraticBezier.html#GrapeCity_Documents_Imaging_PathBuilder_AddQuadraticBezier_System_Drawing_PointF_System_Drawing_PointF_">AddQuadraticBezier(PointF, PointF)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a quadratic Bezier curve and adds it to the figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_AddQuadraticBeziers_System_Drawing_PointF___" data-uid="GrapeCity.Documents.Imaging.PathBuilder.AddQuadraticBeziers(System.Drawing.PointF[])">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.AddQuadraticBeziers.html#GrapeCity_Documents_Imaging_PathBuilder_AddQuadraticBeziers_System_Drawing_PointF___">AddQuadraticBeziers(params PointF[])</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a sequence of quadratic Bezier curves and adds them to the figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_BeginFigure_System_Drawing_PointF_" data-uid="GrapeCity.Documents.Imaging.PathBuilder.BeginFigure(System.Drawing.PointF)">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.BeginFigure.html#GrapeCity_Documents_Imaging_PathBuilder_BeginFigure_System_Drawing_PointF_">BeginFigure(PointF)</a>
        </td>
        <td class="markdown level1 summary"><p>Starts a new figure at the specified point.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_BeginFigure_System_Single_System_Single_" data-uid="GrapeCity.Documents.Imaging.PathBuilder.BeginFigure(System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.BeginFigure.html#GrapeCity_Documents_Imaging_PathBuilder_BeginFigure_System_Single_System_Single_">BeginFigure(float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Starts a new figure at the specified point.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_CancelFigure" data-uid="GrapeCity.Documents.Imaging.PathBuilder.CancelFigure">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.CancelFigure.html#GrapeCity_Documents_Imaging_PathBuilder_CancelFigure">CancelFigure()</a>
        </td>
        <td class="markdown level1 summary"><p>Discards the active figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_Clear" data-uid="GrapeCity.Documents.Imaging.PathBuilder.Clear">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.Clear.html#GrapeCity_Documents_Imaging_PathBuilder_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the list of figures and all pending changes.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_EndFigure_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.PathBuilder.EndFigure(System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.EndFigure.html#GrapeCity_Documents_Imaging_PathBuilder_EndFigure_System_Boolean_">EndFigure(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Ends the current figure; optionally, closes it.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_ToPath_GrapeCity_Documents_Drawing_FillMode_" data-uid="GrapeCity.Documents.Imaging.PathBuilder.ToPath(GrapeCity.Documents.Drawing.FillMode)">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.ToPath.html#GrapeCity_Documents_Imaging_PathBuilder_ToPath_GrapeCity_Documents_Drawing_FillMode_">ToPath(FillMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a <a class="xref" href="GrapeCity.Documents.Imaging.GraphicsPath.html">GraphicsPath</a> from the current set of figures.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_PathBuilder_ToPath_GrapeCity_Documents_Drawing_FillMode_System_Numerics_Matrix3x2_" data-uid="GrapeCity.Documents.Imaging.PathBuilder.ToPath(GrapeCity.Documents.Drawing.FillMode,System.Numerics.Matrix3x2)">
          <a class="xref" href="GrapeCity.Documents.Imaging.PathBuilder.ToPath.html#GrapeCity_Documents_Imaging_PathBuilder_ToPath_GrapeCity_Documents_Drawing_FillMode_System_Numerics_Matrix3x2_">ToPath(FillMode, Matrix3x2)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a <a class="xref" href="GrapeCity.Documents.Imaging.GraphicsPath.html">GraphicsPath</a> from the current set of figures.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
