# GrapeCity.Documents.Svg.SvgPaint.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Svg_SvgPaint__ctor_" data-uid="GrapeCity.Documents.Svg.SvgPaint.#ctor*">SvgPaint Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Svg_SvgPaint__ctor_" data-uid="GrapeCity.Documents.Svg.SvgPaint.#ctor*"></a>
<h4 id="GrapeCity_Documents_Svg_SvgPaint__ctor_GrapeCity_Documents_Svg_SvgReference_" data-uid="GrapeCity.Documents.Svg.SvgPaint.#ctor(GrapeCity.Documents.Svg.SvgReference)">SvgPaint(SvgReference)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Svg.SvgPaint.html">SvgPaint</a> class from <a class="xref" href="GrapeCity.Documents.Svg.SvgReference.html">SvgReference</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SvgPaint(SvgReference href)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(href As SvgReference)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Svg.SvgReference.html">SvgReference</a></td>
      <td><span class="parametername">href</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Svg_SvgPaint__ctor_" data-uid="GrapeCity.Documents.Svg.SvgPaint.#ctor*"></a>
<h4 id="GrapeCity_Documents_Svg_SvgPaint__ctor_GrapeCity_Documents_Svg_SvgReference_GrapeCity_Documents_Svg_SvgColor_" data-uid="GrapeCity.Documents.Svg.SvgPaint.#ctor(GrapeCity.Documents.Svg.SvgReference,GrapeCity.Documents.Svg.SvgColor)">SvgPaint(SvgReference, SvgColor)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Svg.SvgPaint.html">SvgPaint</a> class from <a class="xref" href="GrapeCity.Documents.Svg.SvgReference.html">SvgReference</a> and <a class="xref" href="GrapeCity.Documents.Svg.SvgColor.html">SvgColor</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SvgPaint(SvgReference href, SvgColor color)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(href As SvgReference, color As SvgColor)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Svg.SvgReference.html">SvgReference</a></td>
      <td><span class="parametername">href</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Svg.SvgColor.html">SvgColor</a></td>
      <td><span class="parametername">color</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Svg_SvgPaint__ctor_" data-uid="GrapeCity.Documents.Svg.SvgPaint.#ctor*"></a>
<h4 id="GrapeCity_Documents_Svg_SvgPaint__ctor_GrapeCity_Documents_Svg_SvgColor_" data-uid="GrapeCity.Documents.Svg.SvgPaint.#ctor(GrapeCity.Documents.Svg.SvgColor)">SvgPaint(SvgColor)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Svg.SvgPaint.html">SvgPaint</a> class from <a class="xref" href="GrapeCity.Documents.Svg.SvgColor.html">SvgColor</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SvgPaint(SvgColor color)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(color As SvgColor)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Svg.SvgColor.html">SvgColor</a></td>
      <td><span class="parametername">color</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Svg_SvgPaint__ctor_" data-uid="GrapeCity.Documents.Svg.SvgPaint.#ctor*"></a>
<h4 id="GrapeCity_Documents_Svg_SvgPaint__ctor_System_Drawing_Color_" data-uid="GrapeCity.Documents.Svg.SvgPaint.#ctor(System.Drawing.Color)">SvgPaint(Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Svg.SvgPaint.html">SvgPaint</a> class from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SvgPaint(Color color)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(color As Color)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">color</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Svg_SvgPaint__ctor_" data-uid="GrapeCity.Documents.Svg.SvgPaint.#ctor*"></a>
<h4 id="GrapeCity_Documents_Svg_SvgPaint__ctor_GrapeCity_Documents_Drawing_HslColor_" data-uid="GrapeCity.Documents.Svg.SvgPaint.#ctor(GrapeCity.Documents.Drawing.HslColor)">SvgPaint(HslColor)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Svg.SvgPaint.html">SvgPaint</a> class from <a class="xref" href="GrapeCity.Documents.Drawing.HslColor.html">HslColor</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SvgPaint(HslColor hslColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(hslColor As HslColor)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Drawing.HslColor.html">HslColor</a></td>
      <td><span class="parametername">hslColor</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
