# FarPoint.Web.Chart.GradientFill

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Chart_GradientFill" data-uid="FarPoint.Web.Chart.GradientFill" class="text-break">GradientFill Class
</h1>
  <div class="markdown level0 summary"><p>Represents a fill that uses a two color linear gradient.</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="FarPoint.Web.Chart.Fill.html">Fill</a></div>
    <div class="level2"><span class="xref">GradientFill</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Chart.html">FarPoint.Web.Chart</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Chart.dll</h6>
  <h5 id="FarPoint_Web_Chart_GradientFill_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GradientFill : Fill</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GradientFill
    Inherits Fill</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="FarPoint_Web_Chart_GradientFill__ctor_System_Drawing_Color_System_Drawing_Color_" data-uid="FarPoint.Web.Chart.GradientFill.#ctor(System.Drawing.Color,System.Drawing.Color)">
          <a class="xref" href="FarPoint.Web.Chart.GradientFill.-ctor.html#FarPoint_Web_Chart_GradientFill__ctor_System_Drawing_Color_System_Drawing_Color_">GradientFill(Color, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new gradient fill with the specified colors.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_GradientFill__ctor_System_Drawing_Color_System_Drawing_Color_FarPoint_Web_Chart_GradientStyle_" data-uid="FarPoint.Web.Chart.GradientFill.#ctor(System.Drawing.Color,System.Drawing.Color,FarPoint.Web.Chart.GradientStyle)">
          <a class="xref" href="FarPoint.Web.Chart.GradientFill.-ctor.html#FarPoint_Web_Chart_GradientFill__ctor_System_Drawing_Color_System_Drawing_Color_FarPoint_Web_Chart_GradientStyle_">GradientFill(Color, Color, GradientStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new gradient fill with the specified colors
and the specified style of gradient.</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="FarPoint_Web_Chart_GradientFill_Color0" data-uid="FarPoint.Web.Chart.GradientFill.Color0">
          <a class="xref" href="FarPoint.Web.Chart.GradientFill.Color0.html#FarPoint_Web_Chart_GradientFill_Color0">Color0</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the start color of the gradient.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_GradientFill_Color1" data-uid="FarPoint.Web.Chart.GradientFill.Color1">
          <a class="xref" href="FarPoint.Web.Chart.GradientFill.Color1.html#FarPoint_Web_Chart_GradientFill_Color1">Color1</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the end color of the gradient.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_GradientFill_Style" data-uid="FarPoint.Web.Chart.GradientFill.Style">
          <a class="xref" href="FarPoint.Web.Chart.GradientFill.Style.html#FarPoint_Web_Chart_GradientFill_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the direction of the gradient.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
