# C1.Win.Map.CustomShape

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Map_CustomShape" data-uid="C1.Win.Map.CustomShape" class="text-break">CustomShape Class
</h1>
  <div class="markdown level0 summary"><p>Represents a custom marker shape.</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"><a class="xref" href="C1.Win.Map.NotifyObject.html">NotifyObject</a></div>
    <div class="level2"><span class="xref">CustomShape</span></div>
      <div class="level3"><a class="xref" href="C1.Win.Map.MarkerImageShape.html">MarkerImageShape</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Map.html">C1.Win.Map</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Map.10.dll</h6>
  <h5 id="C1_Win_Map_CustomShape_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class CustomShape : NotifyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class CustomShape
    Inherits NotifyObject</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_Win_Map_CustomShape__ctor" data-uid="C1.Win.Map.CustomShape.#ctor">
          <a class="xref" href="C1.Win.Map.CustomShape.-ctor.html#C1_Win_Map_CustomShape__ctor">CustomShape()</a>
        </td>
        <td class="markdown level1 summary"></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_Win_Map_CustomShape_Draw_System_Drawing_Graphics_System_Drawing_RectangleF_C1_Win_Map_Style_" data-uid="C1.Win.Map.CustomShape.Draw(System.Drawing.Graphics,System.Drawing.RectangleF,C1.Win.Map.Style)">
          <a class="xref" href="C1.Win.Map.CustomShape.Draw.html#C1_Win_Map_CustomShape_Draw_System_Drawing_Graphics_System_Drawing_RectangleF_C1_Win_Map_Style_">Draw(Graphics, RectangleF, Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws the custom shape at specified bounds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_CustomShape_GetDrawingBounds_System_Drawing_Graphics_System_Drawing_RectangleF_C1_Win_Map_Style_" data-uid="C1.Win.Map.CustomShape.GetDrawingBounds(System.Drawing.Graphics,System.Drawing.RectangleF,C1.Win.Map.Style)">
          <a class="xref" href="C1.Win.Map.CustomShape.GetDrawingBounds.html#C1_Win_Map_CustomShape_GetDrawingBounds_System_Drawing_Graphics_System_Drawing_RectangleF_C1_Win_Map_Style_">GetDrawingBounds(Graphics, RectangleF, Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the drawing bounds of the shape.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_CustomShape_IsVisible_System_Drawing_Graphics_System_Drawing_RectangleF_System_Drawing_PointF_C1_Win_Map_Style_" data-uid="C1.Win.Map.CustomShape.IsVisible(System.Drawing.Graphics,System.Drawing.RectangleF,System.Drawing.PointF,C1.Win.Map.Style)">
          <a class="xref" href="C1.Win.Map.CustomShape.IsVisible.html#C1_Win_Map_CustomShape_IsVisible_System_Drawing_Graphics_System_Drawing_RectangleF_System_Drawing_PointF_C1_Win_Map_Style_">IsVisible(Graphics, RectangleF, PointF, Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether the specified point is visible in the custom shape.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
