# C1.Web.Mvc.Fluent.ShapeBuilder-2

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_ShapeBuilder_2" data-uid="C1.Web.Mvc.Fluent.ShapeBuilder`2" class="text-break">ShapeBuilder&lt;TControl, TBuilder&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.Shape.html">Shape</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;TControl, TBuilder&gt;</div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.Fluent.AnnotationBaseBuilder-2.html">AnnotationBaseBuilder</a>&lt;TControl, TBuilder&gt;</div>
    <div class="level4"><span class="xref">ShapeBuilder&lt;TControl, TBuilder&gt;</span></div>
      <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.CircleBuilder.html">CircleBuilder</a></div>
      <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.EllipseBuilder.html">EllipseBuilder</a></div>
      <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.ImageBuilder.html">ImageBuilder</a></div>
      <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.LineBuilder.html">LineBuilder</a></div>
      <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.PolygonBuilder.html">PolygonBuilder</a></div>
      <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.RectangleBuilder.html">RectangleBuilder</a></div>
      <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.SquareBuilder.html">SquareBuilder</a></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_ShapeBuilder_2_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class ShapeBuilder&lt;TControl, TBuilder&gt; : AnnotationBaseBuilder&lt;TControl, TBuilder&gt; where TControl : Shape where TBuilder : ShapeBuilder&lt;TControl, TBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class ShapeBuilder(Of TControl As Shape, TBuilder As ShapeBuilder(Of TControl, TBuilder))
    Inherits AnnotationBaseBuilder(Of TControl, TBuilder)</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TControl</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TBuilder</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <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_ShapeBuilder_2__ctor__0_" data-uid="C1.Web.Mvc.Fluent.ShapeBuilder`2.#ctor(`0)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ShapeBuilder-2.-ctor.html#C1_Web_Mvc_Fluent_ShapeBuilder_2__ctor__0_">ShapeBuilder(TControl)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.ShapeBuilder-2.html">ShapeBuilder&lt;TControl, TBuilder&gt;</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_ShapeBuilder_2_Content_System_String_" data-uid="C1.Web.Mvc.Fluent.ShapeBuilder`2.Content(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ShapeBuilder-2.Content.html#C1_Web_Mvc_Fluent_ShapeBuilder_2_Content_System_String_">Content(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Shape.Content.html#C1_Web_Mvc_Shape_Content">Content</a>.
Sets the text of the annotation.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
