# GrapeCity.Documents.Drawing.IPath

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Drawing_IPath" data-uid="GrapeCity.Documents.Drawing.IPath" class="text-break">IPath Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a complex shape that may be composed of arcs, curves, and lines.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Drawing.html">GrapeCity.Documents.Drawing</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Drawing_IPath_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IPath : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IPath
    Inherits IDisposable</code></pre>
  </div>
  <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_Drawing_IPath_FigureHasSegments" data-uid="GrapeCity.Documents.Drawing.IPath.FigureHasSegments">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.FigureHasSegments.html#GrapeCity_Documents_Drawing_IPath_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_Drawing_IPath_FigureStarted" data-uid="GrapeCity.Documents.Drawing.IPath.FigureStarted">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.FigureStarted.html#GrapeCity_Documents_Drawing_IPath_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_Drawing_IPath_IsClosed" data-uid="GrapeCity.Documents.Drawing.IPath.IsClosed">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.IsClosed.html#GrapeCity_Documents_Drawing_IPath_IsClosed">IsClosed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating if the path is closed for subsequent modifications.</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_Drawing_IPath_AddArc_GrapeCity_Documents_Drawing_ArcSegment_" data-uid="GrapeCity.Documents.Drawing.IPath.AddArc(GrapeCity.Documents.Drawing.ArcSegment)">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.AddArc.html#GrapeCity_Documents_Drawing_IPath_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_Drawing_IPath_AddBezier_System_Drawing_PointF_System_Drawing_PointF_System_Drawing_PointF_" data-uid="GrapeCity.Documents.Drawing.IPath.AddBezier(System.Drawing.PointF,System.Drawing.PointF,System.Drawing.PointF)">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.AddBezier.html#GrapeCity_Documents_Drawing_IPath_AddBezier_System_Drawing_PointF_System_Drawing_PointF_System_Drawing_PointF_">AddBezier(PointF, PointF, PointF)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a cubic Bezier curve between the current point and the specified end point.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IPath_AddLine_System_Drawing_PointF_" data-uid="GrapeCity.Documents.Drawing.IPath.AddLine(System.Drawing.PointF)">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.AddLine.html#GrapeCity_Documents_Drawing_IPath_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 geometry sink.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IPath_AddQuadraticBezier_System_Drawing_PointF_System_Drawing_PointF_" data-uid="GrapeCity.Documents.Drawing.IPath.AddQuadraticBezier(System.Drawing.PointF,System.Drawing.PointF)">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.AddQuadraticBezier.html#GrapeCity_Documents_Drawing_IPath_AddQuadraticBezier_System_Drawing_PointF_System_Drawing_PointF_">AddQuadraticBezier(PointF, PointF)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a quadratic Bezier curve between the current point and the specified end point.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IPath_BeginFigure_System_Drawing_PointF_" data-uid="GrapeCity.Documents.Drawing.IPath.BeginFigure(System.Drawing.PointF)">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.BeginFigure.html#GrapeCity_Documents_Drawing_IPath_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_Drawing_IPath_CancelFigure" data-uid="GrapeCity.Documents.Drawing.IPath.CancelFigure">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.CancelFigure.html#GrapeCity_Documents_Drawing_IPath_CancelFigure">CancelFigure()</a>
        </td>
        <td class="markdown level1 summary"><p>Discards the active figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IPath_Close" data-uid="GrapeCity.Documents.Drawing.IPath.Close">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.Close.html#GrapeCity_Documents_Drawing_IPath_Close">Close()</a>
        </td>
        <td class="markdown level1 summary"><p>Closes the path for modifications. The path cannot be modified after it is closed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IPath_EndFigure_GrapeCity_Documents_Drawing_FigureEnd_" data-uid="GrapeCity.Documents.Drawing.IPath.EndFigure(GrapeCity.Documents.Drawing.FigureEnd)">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.EndFigure.html#GrapeCity_Documents_Drawing_IPath_EndFigure_GrapeCity_Documents_Drawing_FigureEnd_">EndFigure(FigureEnd)</a>
        </td>
        <td class="markdown level1 summary"><p>Ends the current figure; optionally, closes it.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IPath_GetBounds" data-uid="GrapeCity.Documents.Drawing.IPath.GetBounds">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.GetBounds.html#GrapeCity_Documents_Drawing_IPath_GetBounds">GetBounds()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a rectangle that bounds this <a class="xref" href="GrapeCity.Documents.Drawing.IPath.html">IPath</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IPath_GetBounds_System_Numerics_Matrix3x2_" data-uid="GrapeCity.Documents.Drawing.IPath.GetBounds(System.Numerics.Matrix3x2)">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.GetBounds.html#GrapeCity_Documents_Drawing_IPath_GetBounds_System_Numerics_Matrix3x2_">GetBounds(Matrix3x2)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a rectangle that bounds this <a class="xref" href="GrapeCity.Documents.Drawing.IPath.html">IPath</a> when this path is transformed by the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.matrix3x2">Matrix3x2</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IPath_SetFillMode_GrapeCity_Documents_Drawing_FillMode_" data-uid="GrapeCity.Documents.Drawing.IPath.SetFillMode(GrapeCity.Documents.Drawing.FillMode)">
          <a class="xref" href="GrapeCity.Documents.Drawing.IPath.SetFillMode.html#GrapeCity_Documents_Drawing_IPath_SetFillMode_GrapeCity_Documents_Drawing_FillMode_">SetFillMode(FillMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the method used to determine which points are inside the geometry described
by this <a class="xref" href="GrapeCity.Documents.Drawing.IPath.html">IPath</a> and which points are outside.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.Documents.Drawing.IPathExt.AddEllipse.html#GrapeCity_Documents_Drawing_IPathExt_AddEllipse_GrapeCity_Documents_Drawing_IPath_System_Drawing_RectangleF_GrapeCity_Documents_Drawing_FigureEnd_">IPathExt.AddEllipse(IPath, RectangleF, FigureEnd)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.Documents.Drawing.IPathExt.AddRect.html#GrapeCity_Documents_Drawing_IPathExt_AddRect_GrapeCity_Documents_Drawing_IPath_System_Drawing_RectangleF_GrapeCity_Documents_Drawing_FigureEnd_">IPathExt.AddRect(IPath, RectangleF, FigureEnd)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.Documents.Drawing.PathExt.AddLine.html#GrapeCity_Documents_Drawing_PathExt_AddLine_GrapeCity_Documents_Drawing_IPath_System_Single_System_Single_">PathExt.AddLine(IPath, float, float)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.Documents.Drawing.PathExt.BeginFigure.html#GrapeCity_Documents_Drawing_PathExt_BeginFigure_GrapeCity_Documents_Drawing_IPath_System_Single_System_Single_">PathExt.BeginFigure(IPath, float, float)</a>
  </div>

</div>
