# C1.Util.XLPath

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_XLPath" data-uid="C1.Util.XLPath" class="text-break">XLPath Class
</h1>
  <div class="markdown level0 summary"><p>The path that suppored <span class="xref">C1.Util.IRendering</span> interface.</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">XLPath</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">IPath</span></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.html">C1.Util</a></h6>
  <h6><strong>Assembly</strong>: C1.Excel.dll</h6>
  <h5 id="C1_Util_XLPath_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XLPath : IPath, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XLPath
    Implements IPath, IDisposable</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="C1_Util_XLPath__ctor_C1_Util_FillMode_" data-uid="C1.Util.XLPath.#ctor(C1.Util.FillMode)">
          <a class="xref" href="C1.Util.XLPath.-ctor.html#C1_Util_XLPath__ctor_C1_Util_FillMode_">XLPath(FillMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Creating a path object.</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="C1_Util_XLPath_EndPoint" data-uid="C1.Util.XLPath.EndPoint">
          <a class="xref" href="C1.Util.XLPath.EndPoint.html#C1_Util_XLPath_EndPoint">EndPoint</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a end point of this path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_FigureHasSegments" data-uid="C1.Util.XLPath.FigureHasSegments">
          <a class="xref" href="C1.Util.XLPath.FigureHasSegments.html#C1_Util_XLPath_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="C1_Util_XLPath_FigureStarted" data-uid="C1.Util.XLPath.FigureStarted">
          <a class="xref" href="C1.Util.XLPath.FigureStarted.html#C1_Util_XLPath_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="C1_Util_XLPath_FillMode" data-uid="C1.Util.XLPath.FillMode">
          <a class="xref" href="C1.Util.XLPath.FillMode.html#C1_Util_XLPath_FillMode">FillMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets <a class="xref" href="C1.Util.XLPath.FillMode.html#C1_Util_XLPath_FillMode">FillMode</a> method used to determine whether a given point is part of the geometry.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_IsClosed" data-uid="C1.Util.XLPath.IsClosed">
          <a class="xref" href="C1.Util.XLPath.IsClosed.html#C1_Util_XLPath_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>
      <tr>
        <td id="C1_Util_XLPath_IsEmply" data-uid="C1.Util.XLPath.IsEmply">
          <a class="xref" href="C1.Util.XLPath.IsEmply.html#C1_Util_XLPath_IsEmply">IsEmply</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating if the path is closed for subsequent modifications.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_StartPoint" data-uid="C1.Util.XLPath.StartPoint">
          <a class="xref" href="C1.Util.XLPath.StartPoint.html#C1_Util_XLPath_StartPoint">StartPoint</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a start point of this 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="C1_Util_XLPath_AddArc_GrapeCity_Documents_Drawing_ArcSegment_" data-uid="C1.Util.XLPath.AddArc(GrapeCity.Documents.Drawing.ArcSegment)">
          <a class="xref" href="C1.Util.XLPath.AddArc.html#C1_Util_XLPath_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="C1_Util_XLPath_AddArc_System_Drawing_RectangleF_System_Single_System_Single_System_Boolean_" data-uid="C1.Util.XLPath.AddArc(System.Drawing.RectangleF,System.Single,System.Single,System.Boolean)">
          <a class="xref" href="C1.Util.XLPath.AddArc.html#C1_Util_XLPath_AddArc_System_Drawing_RectangleF_System_Single_System_Single_System_Boolean_">AddArc(RectangleF, float, float, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds arc for this path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_AddBezier_System_Drawing_PointF_System_Drawing_PointF_System_Drawing_PointF_" data-uid="C1.Util.XLPath.AddBezier(System.Drawing.PointF,System.Drawing.PointF,System.Drawing.PointF)">
          <a class="xref" href="C1.Util.XLPath.AddBezier.html#C1_Util_XLPath_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="C1_Util_XLPath_AddBeziers_System_Drawing_PointF___" data-uid="C1.Util.XLPath.AddBeziers(System.Drawing.PointF[])">
          <a class="xref" href="C1.Util.XLPath.AddBeziers.html#C1_Util_XLPath_AddBeziers_System_Drawing_PointF___">AddBeziers(PointF[])</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a cubic Bezier curve between the current point and the specified points.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_AddClosedLines_System_Drawing_PointF___" data-uid="C1.Util.XLPath.AddClosedLines(System.Drawing.PointF[])">
          <a class="xref" href="C1.Util.XLPath.AddClosedLines.html#C1_Util_XLPath_AddClosedLines_System_Drawing_PointF___">AddClosedLines(params PointF[])</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a line segments between the current point and the specified end point and adds it to the geometry sink.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_AddEllipse_System_Drawing_RectangleF_" data-uid="C1.Util.XLPath.AddEllipse(System.Drawing.RectangleF)">
          <a class="xref" href="C1.Util.XLPath.AddEllipse.html#C1_Util_XLPath_AddEllipse_System_Drawing_RectangleF_">AddEllipse(RectangleF)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the ellipse figure for this path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_AddLine_System_Drawing_PointF_" data-uid="C1.Util.XLPath.AddLine(System.Drawing.PointF)">
          <a class="xref" href="C1.Util.XLPath.AddLine.html#C1_Util_XLPath_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="C1_Util_XLPath_AddLines_System_Drawing_PointF___" data-uid="C1.Util.XLPath.AddLines(System.Drawing.PointF[])">
          <a class="xref" href="C1.Util.XLPath.AddLines.html#C1_Util_XLPath_AddLines_System_Drawing_PointF___">AddLines(params PointF[])</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a line segments between the current point and the specified end point and adds it to the geometry sink.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_AddPath_C1_Util_XLPath_" data-uid="C1.Util.XLPath.AddPath(C1.Util.XLPath)">
          <a class="xref" href="C1.Util.XLPath.AddPath.html#C1_Util_XLPath_AddPath_C1_Util_XLPath_">AddPath(XLPath)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the other path figure for this path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_AddPie_System_Drawing_RectangleF_System_Single_System_Single_" data-uid="C1.Util.XLPath.AddPie(System.Drawing.RectangleF,System.Single,System.Single)">
          <a class="xref" href="C1.Util.XLPath.AddPie.html#C1_Util_XLPath_AddPie_System_Drawing_RectangleF_System_Single_System_Single_">AddPie(RectangleF, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds pie figure for this path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_AddPolygon_System_Drawing_PointF___" data-uid="C1.Util.XLPath.AddPolygon(System.Drawing.PointF[])">
          <a class="xref" href="C1.Util.XLPath.AddPolygon.html#C1_Util_XLPath_AddPolygon_System_Drawing_PointF___">AddPolygon(PointF[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the polygon figure for this path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_AddQuadraticBezier_System_Drawing_PointF_System_Drawing_PointF_" data-uid="C1.Util.XLPath.AddQuadraticBezier(System.Drawing.PointF,System.Drawing.PointF)">
          <a class="xref" href="C1.Util.XLPath.AddQuadraticBezier.html#C1_Util_XLPath_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="C1_Util_XLPath_AddRect_System_Drawing_RectangleF_" data-uid="C1.Util.XLPath.AddRect(System.Drawing.RectangleF)">
          <a class="xref" href="C1.Util.XLPath.AddRect.html#C1_Util_XLPath_AddRect_System_Drawing_RectangleF_">AddRect(RectangleF)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the rectangle figure for this path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_AddRoundRect_System_Drawing_RectangleF_System_Drawing_SizeF_" data-uid="C1.Util.XLPath.AddRoundRect(System.Drawing.RectangleF,System.Drawing.SizeF)">
          <a class="xref" href="C1.Util.XLPath.AddRoundRect.html#C1_Util_XLPath_AddRoundRect_System_Drawing_RectangleF_System_Drawing_SizeF_">AddRoundRect(RectangleF, SizeF)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the round rectangle figure for this path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_AddRoundRect_System_Drawing_RectangleF_System_Single_System_Single_System_Single_System_Single_" data-uid="C1.Util.XLPath.AddRoundRect(System.Drawing.RectangleF,System.Single,System.Single,System.Single,System.Single)">
          <a class="xref" href="C1.Util.XLPath.AddRoundRect.html#C1_Util_XLPath_AddRoundRect_System_Drawing_RectangleF_System_Single_System_Single_System_Single_System_Single_">AddRoundRect(RectangleF, float, float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the round rectangle figure for this path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_BeginFigure_System_Drawing_PointF_" data-uid="C1.Util.XLPath.BeginFigure(System.Drawing.PointF)">
          <a class="xref" href="C1.Util.XLPath.BeginFigure.html#C1_Util_XLPath_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="C1_Util_XLPath_CancelFigure" data-uid="C1.Util.XLPath.CancelFigure">
          <a class="xref" href="C1.Util.XLPath.CancelFigure.html#C1_Util_XLPath_CancelFigure">CancelFigure()</a>
        </td>
        <td class="markdown level1 summary"><p>Discards the active figure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_Clone" data-uid="C1.Util.XLPath.Clone">
          <a class="xref" href="C1.Util.XLPath.Clone.html#C1_Util_XLPath_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Clone this <a class="xref" href="C1.Util.XLPath.html">XLPath</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_Close" data-uid="C1.Util.XLPath.Close">
          <a class="xref" href="C1.Util.XLPath.Close.html#C1_Util_XLPath_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="C1_Util_XLPath_Dispose" data-uid="C1.Util.XLPath.Dispose">
          <a class="xref" href="C1.Util.XLPath.Dispose.html#C1_Util_XLPath_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_Draw_C1_Util_IRendering_System_Boolean_" data-uid="C1.Util.XLPath.Draw(C1.Util.IRendering,System.Boolean)">
          <a class="xref" href="C1.Util.XLPath.Draw.html#C1_Util_XLPath_Draw_C1_Util_IRendering_System_Boolean_">Draw(IRendering, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws ans fills a path defined by points and types.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_Draw_GrapeCity_Documents_Drawing_GcGraphics_GrapeCity_Documents_Drawing_Pen_" data-uid="C1.Util.XLPath.Draw(GrapeCity.Documents.Drawing.GcGraphics,GrapeCity.Documents.Drawing.Pen)">
          <a class="xref" href="C1.Util.XLPath.Draw.html#C1_Util_XLPath_Draw_GrapeCity_Documents_Drawing_GcGraphics_GrapeCity_Documents_Drawing_Pen_">Draw(GcGraphics, Pen)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws a path defined by points and types.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_EndFigure_GrapeCity_Documents_Drawing_FigureEnd_" data-uid="C1.Util.XLPath.EndFigure(GrapeCity.Documents.Drawing.FigureEnd)">
          <a class="xref" href="C1.Util.XLPath.EndFigure.html#C1_Util_XLPath_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="C1_Util_XLPath_EndFigure_System_Boolean_" data-uid="C1.Util.XLPath.EndFigure(System.Boolean)">
          <a class="xref" href="C1.Util.XLPath.EndFigure.html#C1_Util_XLPath_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="C1_Util_XLPath_Fill_GrapeCity_Documents_Drawing_GcGraphics_System_Drawing_Color_" data-uid="C1.Util.XLPath.Fill(GrapeCity.Documents.Drawing.GcGraphics,System.Drawing.Color)">
          <a class="xref" href="C1.Util.XLPath.Fill.html#C1_Util_XLPath_Fill_GrapeCity_Documents_Drawing_GcGraphics_System_Drawing_Color_">Fill(GcGraphics, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills a path defined by points and types.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_GetBounds" data-uid="C1.Util.XLPath.GetBounds">
          <a class="xref" href="C1.Util.XLPath.GetBounds.html#C1_Util_XLPath_GetBounds">GetBounds()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a rectangle that bounds this path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_GetBounds_System_Numerics_Matrix3x2_" data-uid="C1.Util.XLPath.GetBounds(System.Numerics.Matrix3x2)">
          <a class="xref" href="C1.Util.XLPath.GetBounds.html#C1_Util_XLPath_GetBounds_System_Numerics_Matrix3x2_">GetBounds(Matrix3x2)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a rectangle that bounds this path when this path is transformed by the specified matrix.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_GetPoints_System_Boolean_" data-uid="C1.Util.XLPath.GetPoints(System.Boolean)">
          <a class="xref" href="C1.Util.XLPath.GetPoints.html#C1_Util_XLPath_GetPoints_System_Boolean_">GetPoints(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>This path converts to an approximate polyline.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_IsRect_System_Drawing_RectangleF__" data-uid="C1.Util.XLPath.IsRect(System.Drawing.RectangleF@)">
          <a class="xref" href="C1.Util.XLPath.IsRect.html#C1_Util_XLPath_IsRect_System_Drawing_RectangleF__">IsRect(out RectangleF)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a indicating if the path is closed abd rectange.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_PopClip_C1_Util_IRendering_" data-uid="C1.Util.XLPath.PopClip(C1.Util.IRendering)">
          <a class="xref" href="C1.Util.XLPath.PopClip.html#C1_Util_XLPath_PopClip_C1_Util_IRendering_">PopClip(IRendering)</a>
        </td>
        <td class="markdown level1 summary"><p>Restore clipping.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_PushClip_C1_Util_IRendering_" data-uid="C1.Util.XLPath.PushClip(C1.Util.IRendering)">
          <a class="xref" href="C1.Util.XLPath.PushClip.html#C1_Util_XLPath_PushClip_C1_Util_IRendering_">PushClip(IRendering)</a>
        </td>
        <td class="markdown level1 summary"><p>Apply this path for clipping.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_XLPath_SetFillMode_GrapeCity_Documents_Drawing_FillMode_" data-uid="C1.Util.XLPath.SetFillMode(GrapeCity.Documents.Drawing.FillMode)">
          <a class="xref" href="C1.Util.XLPath.SetFillMode.html#C1_Util_XLPath_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 path and which points are outside.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
