# GrapeCity.ActiveReports.Drawing.PathEx

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Drawing_PathEx" data-uid="GrapeCity.ActiveReports.Drawing.PathEx" class="text-break">PathEx Class
</h1>
  <div class="markdown level0 summary"><p>Path implementation.</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">PathEx</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Drawing.html">GrapeCity.ActiveReports.Drawing</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rendering.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Drawing_PathEx_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class PathEx : ICloneable</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_ActiveReports_Drawing_PathEx__ctor" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.-ctor.html#GrapeCity_ActiveReports_Drawing_PathEx__ctor">PathEx()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx__ctor_System_Collections_Generic_IEnumerable_GrapeCity_ActiveReports_Drawing_PathEx_Segment__GrapeCity_ActiveReports_Drawing_FillModeEx_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.#ctor(System.Collections.Generic.IEnumerable{GrapeCity.ActiveReports.Drawing.PathEx.Segment},GrapeCity.ActiveReports.Drawing.FillModeEx)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.-ctor.html#GrapeCity_ActiveReports_Drawing_PathEx__ctor_System_Collections_Generic_IEnumerable_GrapeCity_ActiveReports_Drawing_PathEx_Segment__GrapeCity_ActiveReports_Drawing_FillModeEx_">PathEx(IEnumerable&lt;Segment&gt;, FillModeEx)</a>
        </td>
        <td class="markdown level1 summary"></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_ActiveReports_Drawing_PathEx_FillMode" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.FillMode">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.FillMode.html#GrapeCity_ActiveReports_Drawing_PathEx_FillMode">FillMode</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_IsEmpty" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.IsEmpty">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.IsEmpty.html#GrapeCity_ActiveReports_Drawing_PathEx_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_PathPoints" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.PathPoints">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.PathPoints.html#GrapeCity_ActiveReports_Drawing_PathEx_PathPoints">PathPoints</a>
        </td>
        <td class="markdown level1 summary"><p>Gets current path points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_Segments" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.Segments">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.Segments.html#GrapeCity_ActiveReports_Drawing_PathEx_Segments">Segments</a>
        </td>
        <td class="markdown level1 summary"><p>Gets internal path representation.</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_ActiveReports_Drawing_PathEx_AddArc_System_Drawing_RectangleF_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddArc(System.Drawing.RectangleF,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddArc.html#GrapeCity_ActiveReports_Drawing_PathEx_AddArc_System_Drawing_RectangleF_System_Single_System_Single_">AddArc(RectangleF, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds arc.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_AddArc_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddArc(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddArc.html#GrapeCity_ActiveReports_Drawing_PathEx_AddArc_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_">AddArc(float, float, float, float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds arc.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_AddBeziers_System_Numerics_Vector2___" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddBeziers(System.Numerics.Vector2[])">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddBeziers.html#GrapeCity_ActiveReports_Drawing_PathEx_AddBeziers_System_Numerics_Vector2___">AddBeziers(Vector2[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds curve as already calculated beziers (start, control, control, end-start, control, control, end-start ...).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_AddCurve_System_Numerics_Vector2___System_Single_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddCurve(System.Numerics.Vector2[],System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddCurve.html#GrapeCity_ActiveReports_Drawing_PathEx_AddCurve_System_Numerics_Vector2___System_Single_">AddCurve(Vector2[], float)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds spline curve.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_AddEllipse_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddEllipse(System.Single,System.Single,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddEllipse.html#GrapeCity_ActiveReports_Drawing_PathEx_AddEllipse_System_Single_System_Single_System_Single_System_Single_">AddEllipse(float, float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds ellipse to rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_AddLine_System_Numerics_Vector2_System_Numerics_Vector2_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddLine(System.Numerics.Vector2,System.Numerics.Vector2)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddLine.html#GrapeCity_ActiveReports_Drawing_PathEx_AddLine_System_Numerics_Vector2_System_Numerics_Vector2_">AddLine(Vector2, Vector2)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds line from point to point.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_AddLineTo_System_Numerics_Vector2_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddLineTo(System.Numerics.Vector2)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddLineTo.html#GrapeCity_ActiveReports_Drawing_PathEx_AddLineTo_System_Numerics_Vector2_">AddLineTo(Vector2)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds line from last point to point.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_AddLines_System_Numerics_Vector2___" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddLines(System.Numerics.Vector2[])">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddLines.html#GrapeCity_ActiveReports_Drawing_PathEx_AddLines_System_Numerics_Vector2___">AddLines(Vector2[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds polyline.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_AddPath_GrapeCity_ActiveReports_Drawing_PathEx_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddPath(GrapeCity.ActiveReports.Drawing.PathEx)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddPath.html#GrapeCity_ActiveReports_Drawing_PathEx_AddPath_GrapeCity_ActiveReports_Drawing_PathEx_">AddPath(PathEx)</a>
        </td>
        <td class="markdown level1 summary"><p>Appends path.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_AddPath_GrapeCity_ActiveReports_Drawing_PathEx_System_Boolean_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddPath(GrapeCity.ActiveReports.Drawing.PathEx,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddPath.html#GrapeCity_ActiveReports_Drawing_PathEx_AddPath_GrapeCity_ActiveReports_Drawing_PathEx_System_Boolean_">AddPath(PathEx, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Appends path.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_AddPolygon_System_Numerics_Vector2___" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddPolygon(System.Numerics.Vector2[])">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddPolygon.html#GrapeCity_ActiveReports_Drawing_PathEx_AddPolygon_System_Numerics_Vector2___">AddPolygon(Vector2[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds polygon.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_AddRectangle_System_Drawing_RectangleF_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddRectangle(System.Drawing.RectangleF)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.AddRectangle.html#GrapeCity_ActiveReports_Drawing_PathEx_AddRectangle_System_Drawing_RectangleF_">AddRectangle(RectangleF)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds rectangle and closes the figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_Clone" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.Clone">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.Clone.html#GrapeCity_ActiveReports_Drawing_PathEx_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_CloseAllFigures" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.CloseAllFigures">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.CloseAllFigures.html#GrapeCity_ActiveReports_Drawing_PathEx_CloseAllFigures">CloseAllFigures()</a>
        </td>
        <td class="markdown level1 summary"><p>Closes all figures in current path.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_CloseFigure" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.CloseFigure">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.CloseFigure.html#GrapeCity_ActiveReports_Drawing_PathEx_CloseFigure">CloseFigure()</a>
        </td>
        <td class="markdown level1 summary"><p>Closes only last figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_Flatten_System_Int32_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.Flatten(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.Flatten.html#GrapeCity_ActiveReports_Drawing_PathEx_Flatten_System_Int32_">Flatten(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Break beziers to lines.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_Flatten_System_Single_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.Flatten(System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.Flatten.html#GrapeCity_ActiveReports_Drawing_PathEx_Flatten_System_Single_">Flatten(float)</a>
        </td>
        <td class="markdown level1 summary"><p>Break beziers to lines.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_GetBounds" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.GetBounds">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.GetBounds.html#GrapeCity_ActiveReports_Drawing_PathEx_GetBounds">GetBounds()</a>
        </td>
        <td class="markdown level1 summary"><p>Evaluates the bounds of the figure specified by the given path.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_IsVisible_System_Numerics_Vector2_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.IsVisible(System.Numerics.Vector2)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.IsVisible.html#GrapeCity_ActiveReports_Drawing_PathEx_IsVisible_System_Numerics_Vector2_">IsVisible(Vector2)</a>
        </td>
        <td class="markdown level1 summary"><p>Contains point implementation.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_Reverse" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.Reverse">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.Reverse.html#GrapeCity_ActiveReports_Drawing_PathEx_Reverse">Reverse()</a>
        </td>
        <td class="markdown level1 summary"><p>Reverses the order of points in the path.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_StartFigure" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.StartFigure">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.StartFigure.html#GrapeCity_ActiveReports_Drawing_PathEx_StartFigure">StartFigure()</a>
        </td>
        <td class="markdown level1 summary"><p>Starts a new figure without closing the current figure. All subsequent points added to the path are added to this new figure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_ToString" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.ToString">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.ToString.html#GrapeCity_ActiveReports_Drawing_PathEx_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_Transform_System_Numerics_Matrix3x2_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.Transform(System.Numerics.Matrix3x2)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.Transform.html#GrapeCity_ActiveReports_Drawing_PathEx_Transform_System_Numerics_Matrix3x2_">Transform(Matrix3x2)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies transformation.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_Translate_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.Translate(System.Single,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.Translate.html#GrapeCity_ActiveReports_Drawing_PathEx_Translate_System_Single_System_Single_">Translate(float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Translates the path by the given offset.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_PathEx_Widen_System_Single_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.Widen(System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathEx.Widen.html#GrapeCity_ActiveReports_Drawing_PathEx_Widen_System_Single_">Widen(float)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathExtensions.AddBeziers.html#GrapeCity_ActiveReports_Drawing_PathExtensions_AddBeziers_GrapeCity_ActiveReports_Drawing_PathEx_System_Drawing_PointF___">PathExtensions.AddBeziers(PathEx, PointF[])</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathExtensions.AddCurve.html#GrapeCity_ActiveReports_Drawing_PathExtensions_AddCurve_GrapeCity_ActiveReports_Drawing_PathEx_System_Drawing_PointF___System_Single_">PathExtensions.AddCurve(PathEx, PointF[], float)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathExtensions.AddLine.html#GrapeCity_ActiveReports_Drawing_PathExtensions_AddLine_GrapeCity_ActiveReports_Drawing_PathEx_System_Drawing_PointF_System_Drawing_PointF_">PathExtensions.AddLine(PathEx, PointF, PointF)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathExtensions.AddLineTo.html#GrapeCity_ActiveReports_Drawing_PathExtensions_AddLineTo_GrapeCity_ActiveReports_Drawing_PathEx_System_Drawing_PointF_">PathExtensions.AddLineTo(PathEx, PointF)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathExtensions.AddLines.html#GrapeCity_ActiveReports_Drawing_PathExtensions_AddLines_GrapeCity_ActiveReports_Drawing_PathEx_System_Drawing_PointF___">PathExtensions.AddLines(PathEx, PointF[])</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathExtensions.AddPolygon.html#GrapeCity_ActiveReports_Drawing_PathExtensions_AddPolygon_GrapeCity_ActiveReports_Drawing_PathEx_System_Drawing_PointF___">PathExtensions.AddPolygon(PathEx, PointF[])</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathExtensions.IsVisible.html#GrapeCity_ActiveReports_Drawing_PathExtensions_IsVisible_GrapeCity_ActiveReports_Drawing_PathEx_System_Drawing_PointF_">PathExtensions.IsVisible(PathEx, PointF)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Drawing.PathExtensions.Scale.html#GrapeCity_ActiveReports_Drawing_PathExtensions_Scale_GrapeCity_ActiveReports_Drawing_PathEx_System_Single_System_Single_">PathExtensions.Scale(PathEx, float, float)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Tools.ObjectExtensions.IsNumber.html#GrapeCity_ActiveReports_Core_Rendering_Tools_ObjectExtensions_IsNumber_System_Object_">ObjectExtensions.IsNumber(object)</a>
  </div>

</div>
