# FarPoint.Win.Spread.DrawingSpace.GradientSection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_DrawingSpace_GradientSection" data-uid="FarPoint.Win.Spread.DrawingSpace.GradientSection" class="text-break">GradientSection Class
</h1>
  <div class="markdown level0 summary"><p>Represents the sections of a color gradient, continuously smooth color transitions.</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"><span class="xref">GradientSection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.html">FarPoint.Win.Spread.DrawingSpace</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_DrawingSpace_GradientSection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(GradientSectionConverter))]
public class GradientSection : ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(GradientSectionConverter))&gt;
Public Class GradientSection
    Implements ISerializeSupport</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_Win_Spread_DrawingSpace_GradientSection__ctor_System_Drawing_Color_" data-uid="FarPoint.Win.Spread.DrawingSpace.GradientSection.#ctor(System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.GradientSection.-ctor.html#FarPoint_Win_Spread_DrawingSpace_GradientSection__ctor_System_Drawing_Color_">GradientSection(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new color gradient section with default settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DrawingSpace_GradientSection__ctor_System_Drawing_Color_System_Int32_" data-uid="FarPoint.Win.Spread.DrawingSpace.GradientSection.#ctor(System.Drawing.Color,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.GradientSection.-ctor.html#FarPoint_Win_Spread_DrawingSpace_GradientSection__ctor_System_Drawing_Color_System_Int32_">GradientSection(Color, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new color gradient section with the specified parameters.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DrawingSpace_GradientSection__ctor_System_Drawing_Color_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.DrawingSpace.GradientSection.#ctor(System.Drawing.Color,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.GradientSection.-ctor.html#FarPoint_Win_Spread_DrawingSpace_GradientSection__ctor_System_Drawing_Color_System_Int32_System_Int32_">GradientSection(Color, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new color gradient section with the specified parameters.</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_Win_Spread_DrawingSpace_GradientSection_AlphaBlend" data-uid="FarPoint.Win.Spread.DrawingSpace.GradientSection.AlphaBlend">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.GradientSection.AlphaBlend.html#FarPoint_Win_Spread_DrawingSpace_GradientSection_AlphaBlend">AlphaBlend</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of alpha-blending of the gradient.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DrawingSpace_GradientSection_Amount" data-uid="FarPoint.Win.Spread.DrawingSpace.GradientSection.Amount">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.GradientSection.Amount.html#FarPoint_Win_Spread_DrawingSpace_GradientSection_Amount">Amount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of the gradient.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DrawingSpace_GradientSection_Color" data-uid="FarPoint.Win.Spread.DrawingSpace.GradientSection.Color">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.GradientSection.Color.html#FarPoint_Win_Spread_DrawingSpace_GradientSection_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the gradient.</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="FarPoint_Win_Spread_DrawingSpace_GradientSection_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.DrawingSpace.GradientSection.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.GradientSection.Deserialize.html#FarPoint_Win_Spread_DrawingSpace_GradientSection_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DrawingSpace_GradientSection_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.DrawingSpace.GradientSection.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.GradientSection.Serialize.html#FarPoint_Win_Spread_DrawingSpace_GradientSection_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
