# C1.Document.GradientStop

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Document_GradientStop" data-uid="C1.Document.GradientStop" class="text-break">GradientStop Class
</h1>
  <div class="markdown level0 summary"><p>Defines the point within 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="C1.Document.html">C1.Document</a></h6>
  <h6><strong>Assembly</strong>: C1.Document.dll</h6>
  <h5 id="C1_Document_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="C1_Document_GradientStop__ctor_System_Double_System_Drawing_Color_" data-uid="C1.Document.GradientStop.#ctor(System.Double,System.Drawing.Color)">
          <a class="xref" href="C1.Document.GradientStop.-ctor.html#C1_Document_GradientStop__ctor_System_Double_System_Drawing_Color_">GradientStop(double, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of the <a class="xref" href="C1.Document.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="C1_Document_GradientStop_Color" data-uid="C1.Document.GradientStop.Color">
          <a class="xref" href="C1.Document.GradientStop.Color.html#C1_Document_GradientStop_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>The color of the gradient stop.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_GradientStop_Position" data-uid="C1.Document.GradientStop.Position">
          <a class="xref" href="C1.Document.GradientStop.Position.html#C1_Document_GradientStop_Position">Position</a>
        </td>
        <td class="markdown level1 summary"><p>A value that indicates the relative position of the gradient stop in the brush.
This value must be in the [0.0, 1.0] range.</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="C1_Document_GradientStop_Equals_System_Object_" data-uid="C1.Document.GradientStop.Equals(System.Object)">
          <a class="xref" href="C1.Document.GradientStop.Equals.html#C1_Document_GradientStop_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Document_GradientStop_GetHashCode" data-uid="C1.Document.GradientStop.GetHashCode">
          <a class="xref" href="C1.Document.GradientStop.GetHashCode.html#C1_Document_GradientStop_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
