# FarPoint.Win.Spread.GradientInterfaceRenderer.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_GradientInterfaceRenderer__ctor_" data-uid="FarPoint.Win.Spread.GradientInterfaceRenderer.#ctor*">GradientInterfaceRenderer Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_GradientInterfaceRenderer__ctor_" data-uid="FarPoint.Win.Spread.GradientInterfaceRenderer.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_GradientInterfaceRenderer__ctor" data-uid="FarPoint.Win.Spread.GradientInterfaceRenderer.#ctor">GradientInterfaceRenderer()</h4>
<div class="markdown level1 summary"><p>Creates a new interface gradient renderer.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GradientInterfaceRenderer()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="FarPoint_Win_Spread_GradientInterfaceRenderer__ctor_" data-uid="FarPoint.Win.Spread.GradientInterfaceRenderer.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_GradientInterfaceRenderer__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_System_Drawing_Font_" data-uid="FarPoint.Win.Spread.GradientInterfaceRenderer.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,System.Drawing.Font)">GradientInterfaceRenderer(Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Font, Font)</h4>
<div class="markdown level1 summary"><p>Creates a new interface gradient renderer with the specified parameters.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GradientInterfaceRenderer(Color topColor, Color bottomColor, Color mouseTopColor, Color mouseBottomColor, Color activeTopColor, Color activeBottomColor, Color disabledTopColor, Color disabledBottomColor, Color foreColor, Color backgroundColor, Color borderColor, Color pressedTopColor, Color pressedBottomColor, Font font, Font activeFont)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(topColor As Color, bottomColor As Color, mouseTopColor As Color, mouseBottomColor As Color, activeTopColor As Color, activeBottomColor As Color, disabledTopColor As Color, disabledBottomColor As Color, foreColor As Color, backgroundColor As Color, borderColor As Color, pressedTopColor As Color, pressedBottomColor As Color, font As Font, activeFont As Font)</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">topColor</span></td>
      <td><p>Top color of the gradient</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">bottomColor</span></td>
      <td><p>Bottom color of the gradient</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">mouseTopColor</span></td>
      <td><p>Top color of the gradient for mouse-overs</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">mouseBottomColor</span></td>
      <td><p>Bottom color of the gradient for mouse-overs</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">activeTopColor</span></td>
      <td><p>Top color of the gradient when in focus</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">activeBottomColor</span></td>
      <td><p>Bottom color of the gradient when in focus</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">disabledTopColor</span></td>
      <td><p>Top color of the gradient when disabled</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">disabledBottomColor</span></td>
      <td><p>Bottom color of the gradient when disabled</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">foreColor</span></td>
      <td><p>Text color</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">backgroundColor</span></td>
      <td><p>Background color</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">borderColor</span></td>
      <td><p>Border color</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">pressedTopColor</span></td>
      <td><p>Top color of the gradient when pressed</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">pressedBottomColor</span></td>
      <td><p>Bottom color of the gradient when pressed</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>Text font</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">activeFont</span></td>
      <td><p>Text font when in focus</p>
</td>
    </tr>
  </tbody>
</table>
</div>
