# C1.Document.C1LinearBrush

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Document_C1LinearBrush" data-uid="C1.Document.C1LinearBrush" class="text-break">C1LinearBrush Class
</h1>
  <div class="markdown level0 summary"><p>Defines a linear gradient brush.</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="C1.Document.VisualPrimitive.html">VisualPrimitive</a></div>
    <div class="level2"><a class="xref" href="C1.Document.C1Brush.html">C1Brush</a></div>
    <div class="level3"><a class="xref" href="C1.Document.C1GradientBrush.html">C1GradientBrush</a></div>
    <div class="level4"><span class="xref">C1LinearBrush</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></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_C1LinearBrush_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1LinearBrush : C1GradientBrush, INotifyPropertyChanged, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1LinearBrush
    Inherits C1GradientBrush
    Implements INotifyPropertyChanged, ICloneable</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_C1LinearBrush__ctor" data-uid="C1.Document.C1LinearBrush.#ctor">
          <a class="xref" href="C1.Document.C1LinearBrush.-ctor.html#C1_Document_C1LinearBrush__ctor">C1LinearBrush()</a>
        </td>
        <td class="markdown level1 summary"></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_C1LinearBrush_EndColor" data-uid="C1.Document.C1LinearBrush.EndColor">
          <a class="xref" href="C1.Document.C1LinearBrush.EndColor.html#C1_Document_C1LinearBrush_EndColor">EndColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the ending color of the current linear gradient brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_C1LinearBrush_EndPoint" data-uid="C1.Document.C1LinearBrush.EndPoint">
          <a class="xref" href="C1.Document.C1LinearBrush.EndPoint.html#C1_Document_C1LinearBrush_EndPoint">EndPoint</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the coordinates of the end point of the current linear gradient.
(0,0) is the top-left corner, (1,1) is the bottom-right corner.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_C1LinearBrush_StartColor" data-uid="C1.Document.C1LinearBrush.StartColor">
          <a class="xref" href="C1.Document.C1LinearBrush.StartColor.html#C1_Document_C1LinearBrush_StartColor">StartColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the starting color of the current linear gradient brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_C1LinearBrush_StartPoint" data-uid="C1.Document.C1LinearBrush.StartPoint">
          <a class="xref" href="C1.Document.C1LinearBrush.StartPoint.html#C1_Document_C1LinearBrush_StartPoint">StartPoint</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the coordinates of the start point of the current linear gradient.
(0,0) is the top-left corner, (1,1) is the bottom-right corner.</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_C1LinearBrush_AssignFrom_C1_Document_VisualPrimitive_" data-uid="C1.Document.C1LinearBrush.AssignFrom(C1.Document.VisualPrimitive)">
          <a class="xref" href="C1.Document.C1LinearBrush.AssignFrom.html#C1_Document_C1LinearBrush_AssignFrom_C1_Document_VisualPrimitive_">AssignFrom(VisualPrimitive)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.Document.VisualPrimitive.html">VisualPrimitive</a> to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_C1LinearBrush_Compare_C1_Document_VisualPrimitive_" data-uid="C1.Document.C1LinearBrush.Compare(C1.Document.VisualPrimitive)">
          <a class="xref" href="C1.Document.C1LinearBrush.Compare.html#C1_Document_C1LinearBrush_Compare_C1_Document_VisualPrimitive_">Compare(VisualPrimitive)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares this <a class="xref" href="C1.Document.VisualPrimitive.html">VisualPrimitive</a> object with another <a class="xref" href="C1.Document.VisualPrimitive.html">VisualPrimitive</a> object
returns <b>true</b> if objects represent same object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_C1LinearBrush_CreateSame" data-uid="C1.Document.C1LinearBrush.CreateSame">
          <a class="xref" href="C1.Document.C1LinearBrush.CreateSame.html#C1_Document_C1LinearBrush_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an object of the same type as the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_C1LinearBrush_GetHashCodeInt" data-uid="C1.Document.C1LinearBrush.GetHashCodeInt">
          <a class="xref" href="C1.Document.C1LinearBrush.GetHashCodeInt.html#C1_Document_C1LinearBrush_GetHashCodeInt">GetHashCodeInt()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
