# C1.Android.Core.C1VectorIcon

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Android_Core_C1VectorIcon" data-uid="C1.Android.Core.C1VectorIcon" class="text-break">C1VectorIcon Class
</h1>
  <div class="markdown level0 summary"><p>Represents an icon created from a vector definition.</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.Android.Core.C1View.html">C1View</a></div>
    <div class="level2"><a class="xref" href="C1.Android.Core.C1Icon.html">C1Icon</a></div>
    <div class="level3"><span class="xref">C1VectorIcon</span></div>
      <div class="level4"><a class="xref" href="C1.Android.Core.C1PathIcon.html">C1PathIcon</a></div>
      <div class="level4"><a class="xref" href="C1.Android.Core.C1PolygonIcon.html">C1PolygonIcon</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Android.Core.IDependencyObject.html">IDependencyObject</a></div>
    <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="C1.Android.Core.html">C1.Android.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.Android.Core.dll</h6>
  <h5 id="C1_Android_Core_C1VectorIcon_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class C1VectorIcon : C1Icon, IDependencyObject, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class C1VectorIcon
    Inherits C1Icon
    Implements IDependencyObject, 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="C1_Android_Core_C1VectorIcon__ctor_Android_Content_Context_" data-uid="C1.Android.Core.C1VectorIcon.#ctor(Android.Content.Context)">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.-ctor.html#C1_Android_Core_C1VectorIcon__ctor_Android_Content_Context_">C1VectorIcon(Context)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1VectorIcon.html">C1VectorIcon</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon__ctor_Android_Content_Context_Android_Util_IAttributeSet_" data-uid="C1.Android.Core.C1VectorIcon.#ctor(Android.Content.Context,Android.Util.IAttributeSet)">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.-ctor.html#C1_Android_Core_C1VectorIcon__ctor_Android_Content_Context_Android_Util_IAttributeSet_">C1VectorIcon(Context, IAttributeSet)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1VectorIcon.html">C1VectorIcon</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon__ctor_Android_Content_Context_Android_Util_IAttributeSet_System_Int32_" data-uid="C1.Android.Core.C1VectorIcon.#ctor(Android.Content.Context,Android.Util.IAttributeSet,System.Int32)">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.-ctor.html#C1_Android_Core_C1VectorIcon__ctor_Android_Content_Context_Android_Util_IAttributeSet_System_Int32_">C1VectorIcon(Context, IAttributeSet, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1VectorIcon.html">C1VectorIcon</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon__ctor_System_IntPtr_Android_Runtime_JniHandleOwnership_" data-uid="C1.Android.Core.C1VectorIcon.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.-ctor.html#C1_Android_Core_C1VectorIcon__ctor_System_IntPtr_Android_Runtime_JniHandleOwnership_">C1VectorIcon(nint, JniHandleOwnership)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_StrokeBrushProperty" data-uid="C1.Android.Core.C1VectorIcon.StrokeBrushProperty">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.StrokeBrushProperty.html">StrokeBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1VectorIcon.StrokeBrush.html#C1_Android_Core_C1VectorIcon_StrokeBrush">StrokeBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_StrokeThicknessProperty" data-uid="C1.Android.Core.C1VectorIcon.StrokeThicknessProperty">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.StrokeThicknessProperty.html">StrokeThicknessProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1VectorIcon.StrokeThickness.html#C1_Android_Core_C1VectorIcon_StrokeThickness">StrokeThickness</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_ViewBoxProperty" data-uid="C1.Android.Core.C1VectorIcon.ViewBoxProperty">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.ViewBoxProperty.html">ViewBoxProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1VectorIcon.ViewBox.html#C1_Android_Core_C1VectorIcon_ViewBox">ViewBox</a> dependency property.</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_Android_Core_C1VectorIcon_StrokeBrush" data-uid="C1.Android.Core.C1VectorIcon.StrokeBrush">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.StrokeBrush.html#C1_Android_Core_C1VectorIcon_StrokeBrush">StrokeBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush of the stroke.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_StrokeThickness" data-uid="C1.Android.Core.C1VectorIcon.StrokeThickness">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.StrokeThickness.html#C1_Android_Core_C1VectorIcon_StrokeThickness">StrokeThickness</a>
        </td>
        <td class="markdown level1 summary"><p>The stroke thickness</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_ViewBox" data-uid="C1.Android.Core.C1VectorIcon.ViewBox">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.ViewBox.html#C1_Android_Core_C1VectorIcon_ViewBox">ViewBox</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rectangle (in the path coordinates) which will determine what part will be drawn.</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_Android_Core_C1VectorIcon_CreateGeometry" data-uid="C1.Android.Core.C1VectorIcon.CreateGeometry">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.CreateGeometry.html#C1_Android_Core_C1VectorIcon_CreateGeometry">CreateGeometry()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is called to create the geometry of the shape.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_Dispose_System_Boolean_" data-uid="C1.Android.Core.C1VectorIcon.Dispose(System.Boolean)">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.Dispose.html#C1_Android_Core_C1VectorIcon_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_Draw_Android_Graphics_Canvas_" data-uid="C1.Android.Core.C1VectorIcon.Draw(Android.Graphics.Canvas)">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.Draw.html#C1_Android_Core_C1VectorIcon_Draw_Android_Graphics_Canvas_">Draw(Canvas)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_GetIntrinsicIconSize" data-uid="C1.Android.Core.C1VectorIcon.GetIntrinsicIconSize">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.GetIntrinsicIconSize.html#C1_Android_Core_C1VectorIcon_GetIntrinsicIconSize">GetIntrinsicIconSize()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the intrinsic size of the icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_OnAttachedToWindow" data-uid="C1.Android.Core.C1VectorIcon.OnAttachedToWindow">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.OnAttachedToWindow.html#C1_Android_Core_C1VectorIcon_OnAttachedToWindow">OnAttachedToWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_OnDetachedFromWindow" data-uid="C1.Android.Core.C1VectorIcon.OnDetachedFromWindow">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.OnDetachedFromWindow.html#C1_Android_Core_C1VectorIcon_OnDetachedFromWindow">OnDetachedFromWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_OnLayout_System_Boolean_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.Android.Core.C1VectorIcon.OnLayout(System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.OnLayout.html#C1_Android_Core_C1VectorIcon_OnLayout_System_Boolean_System_Int32_System_Int32_System_Int32_System_Int32_">OnLayout(bool, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1VectorIcon_UpdateGeometry" data-uid="C1.Android.Core.C1VectorIcon.UpdateGeometry">
          <a class="xref" href="C1.Android.Core.C1VectorIcon.UpdateGeometry.html#C1_Android_Core_C1VectorIcon_UpdateGeometry">UpdateGeometry()</a>
        </td>
        <td class="markdown level1 summary"><p>This will recreate the geometry and update the path.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
