# C1.Web.Mvc.Fluent.PolygonBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_PolygonBuilder" data-uid="C1.Web.Mvc.Fluent.PolygonBuilder" class="text-break">PolygonBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.Polygon.html">Polygon</a>.</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">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.Polygon.html">Polygon</a>, <a class="xref" href="C1.Web.Mvc.Fluent.PolygonBuilder.html">PolygonBuilder</a>&gt;</div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.Fluent.AnnotationBaseBuilder-2.html">AnnotationBaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.Polygon.html">Polygon</a>, <a class="xref" href="C1.Web.Mvc.Fluent.PolygonBuilder.html">PolygonBuilder</a>&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.Fluent.ShapeBuilder-2.html">ShapeBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.Polygon.html">Polygon</a>, <a class="xref" href="C1.Web.Mvc.Fluent.PolygonBuilder.html">PolygonBuilder</a>&gt;</div>
    <div class="level5"><span class="xref">PolygonBuilder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_PolygonBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PolygonBuilder : ShapeBuilder&lt;Polygon, PolygonBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PolygonBuilder
    Inherits ShapeBuilder(Of Polygon, PolygonBuilder)</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_Web_Mvc_Fluent_PolygonBuilder__ctor_C1_Web_Mvc_Polygon_" data-uid="C1.Web.Mvc.Fluent.PolygonBuilder.#ctor(C1.Web.Mvc.Polygon)">
          <a class="xref" href="C1.Web.Mvc.Fluent.PolygonBuilder.-ctor.html#C1_Web_Mvc_Fluent_PolygonBuilder__ctor_C1_Web_Mvc_Polygon_">PolygonBuilder(Polygon)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.PolygonBuilder.html">PolygonBuilder</a> instance to configurate <code class="paramref">obj</code>.</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_Web_Mvc_Fluent_PolygonBuilder_AddPoint_C1_Web_Mvc_DataPoint_" data-uid="C1.Web.Mvc.Fluent.PolygonBuilder.AddPoint(C1.Web.Mvc.DataPoint)">
          <a class="xref" href="C1.Web.Mvc.Fluent.PolygonBuilder.AddPoint.html#C1_Web_Mvc_Fluent_PolygonBuilder_AddPoint_C1_Web_Mvc_DataPoint_">AddPoint(DataPoint)</a>
        </td>
        <td class="markdown level1 summary"><p>Add point for Polygon annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_PolygonBuilder_AddPoint_System_Action_C1_Web_Mvc_Fluent_DataPointBuilder__" data-uid="C1.Web.Mvc.Fluent.PolygonBuilder.AddPoint(System.Action{C1.Web.Mvc.Fluent.DataPointBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.PolygonBuilder.AddPoint.html#C1_Web_Mvc_Fluent_PolygonBuilder_AddPoint_System_Action_C1_Web_Mvc_Fluent_DataPointBuilder__">AddPoint(Action&lt;DataPointBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add point for Polygon annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_PolygonBuilder_AddPoint_System_Object_System_Object_" data-uid="C1.Web.Mvc.Fluent.PolygonBuilder.AddPoint(System.Object,System.Object)">
          <a class="xref" href="C1.Web.Mvc.Fluent.PolygonBuilder.AddPoint.html#C1_Web_Mvc_Fluent_PolygonBuilder_AddPoint_System_Object_System_Object_">AddPoint(object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Add point for Polygon annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_PolygonBuilder_AddPoints_C1_Web_Mvc_DataPoint___" data-uid="C1.Web.Mvc.Fluent.PolygonBuilder.AddPoints(C1.Web.Mvc.DataPoint[])">
          <a class="xref" href="C1.Web.Mvc.Fluent.PolygonBuilder.AddPoints.html#C1_Web_Mvc_Fluent_PolygonBuilder_AddPoints_C1_Web_Mvc_DataPoint___">AddPoints(params DataPoint[])</a>
        </td>
        <td class="markdown level1 summary"><p>Add point array for Polygon annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_PolygonBuilder_AddPoints_System_Collections_Generic_IEnumerable_C1_Web_Mvc_DataPoint__" data-uid="C1.Web.Mvc.Fluent.PolygonBuilder.AddPoints(System.Collections.Generic.IEnumerable{C1.Web.Mvc.DataPoint})">
          <a class="xref" href="C1.Web.Mvc.Fluent.PolygonBuilder.AddPoints.html#C1_Web_Mvc_Fluent_PolygonBuilder_AddPoints_System_Collections_Generic_IEnumerable_C1_Web_Mvc_DataPoint__">AddPoints(IEnumerable&lt;DataPoint&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add point array for Polygon annotation.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
