# GrapeCity.Documents.Drawing.GradientStop

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Drawing_GradientStop" data-uid="GrapeCity.Documents.Drawing.GradientStop" class="text-break">GradientStop Class
</h1>
  <div class="markdown level0 summary"><p>Represents a transition point in a 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"><span class="xref">GradientStop</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Drawing.html">GrapeCity.Documents.Drawing</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Drawing_GradientStop_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GradientStop</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GradientStop</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="GrapeCity_Documents_Drawing_GradientStop__ctor_System_Drawing_Color_System_Single_" data-uid="GrapeCity.Documents.Drawing.GradientStop.#ctor(System.Drawing.Color,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Drawing.GradientStop.-ctor.html#GrapeCity_Documents_Drawing_GradientStop__ctor_System_Drawing_Color_System_Single_">GradientStop(Color, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Drawing.GradientStop.html">GradientStop</a> class.</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="GrapeCity_Documents_Drawing_GradientStop_Color" data-uid="GrapeCity.Documents.Drawing.GradientStop.Color">
          <a class="xref" href="GrapeCity.Documents.Drawing.GradientStop.Color.html#GrapeCity_Documents_Drawing_GradientStop_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of this gradient stop.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_GradientStop_Offset" data-uid="GrapeCity.Documents.Drawing.GradientStop.Offset">
          <a class="xref" href="GrapeCity.Documents.Drawing.GradientStop.Offset.html#GrapeCity_Documents_Drawing_GradientStop_Offset">Offset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the location of this stop within the gradient vector. Valid values are from 0 (vector's start) to 1 (vector's end).</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
