# GrapeCity.Drawing.Brush

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Drawing_Brush" data-uid="GrapeCity.Drawing.Brush" class="text-break">Brush Class
</h1>
  <div class="markdown level0 summary"><p>Represents an abstract 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"><span class="xref">Brush</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.Drawing.CombinedBrush.html">CombinedBrush</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Drawing.GradientBrush.html">GradientBrush</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Drawing.ImageBrush.html">ImageBrush</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Drawing.PatternBrush.html">PatternBrush</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Drawing.SolidColorBrush.html">SolidColorBrush</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="GrapeCity.Drawing.Brush.html">Brush</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Drawing.html">GrapeCity.Drawing</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Drawing_Brush_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class Brush : IEquatable&lt;Brush&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class Brush
    Implements IEquatable(Of Brush)</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Drawing_Brush_Empty" data-uid="GrapeCity.Drawing.Brush.Empty">
          <a class="xref" href="GrapeCity.Drawing.Brush.Empty.html">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the empty brush.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Brush_Group" data-uid="GrapeCity.Drawing.Brush.Group">
          <a class="xref" href="GrapeCity.Drawing.Brush.Group.html">Group</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the group brush.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Brush_Transparent" data-uid="GrapeCity.Drawing.Brush.Transparent">
          <a class="xref" href="GrapeCity.Drawing.Brush.Transparent.html">Transparent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the transparent brush.</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_Drawing_Brush_RotateWithShape" data-uid="GrapeCity.Drawing.Brush.RotateWithShape">
          <a class="xref" href="GrapeCity.Drawing.Brush.RotateWithShape.html#GrapeCity_Drawing_Brush_RotateWithShape">RotateWithShape</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the fill style should rotate with the shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Brush_Transparency" data-uid="GrapeCity.Drawing.Brush.Transparency">
          <a class="xref" href="GrapeCity.Drawing.Brush.Transparency.html#GrapeCity_Drawing_Brush_Transparency">Transparency</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets the degree of transparency of the specified brush as a value from 0.0 (opaque) through 1.0 (clear).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Brush_Visible" data-uid="GrapeCity.Drawing.Brush.Visible">
          <a class="xref" href="GrapeCity.Drawing.Brush.Visible.html#GrapeCity_Drawing_Brush_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets an Boolean value that determines whether the object is visible. Read/write.</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="GrapeCity_Drawing_Brush_ApplyColorTransform_GrapeCity_Core_ColorTransform_" data-uid="GrapeCity.Drawing.Brush.ApplyColorTransform(GrapeCity.Core.ColorTransform)">
          <a class="xref" href="GrapeCity.Drawing.Brush.ApplyColorTransform.html#GrapeCity_Drawing_Brush_ApplyColorTransform_GrapeCity_Core_ColorTransform_">ApplyColorTransform(ColorTransform)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new brush from the current brush with the specified <a class="xref" href="GrapeCity.Core.ColorTransform.html">ColorTransform</a> effect.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Brush_ApplyColorTransform_GrapeCity_Core_ColorTransform___" data-uid="GrapeCity.Drawing.Brush.ApplyColorTransform(GrapeCity.Core.ColorTransform[])">
          <a class="xref" href="GrapeCity.Drawing.Brush.ApplyColorTransform.html#GrapeCity_Drawing_Brush_ApplyColorTransform_GrapeCity_Core_ColorTransform___">ApplyColorTransform(ColorTransform[])</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new brush from the current brush with the specified <a class="xref" href="GrapeCity.Core.ColorTransform.html">ColorTransform</a> effect.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Brush_Clone" data-uid="GrapeCity.Drawing.Brush.Clone">
          <a class="xref" href="GrapeCity.Drawing.Brush.Clone.html#GrapeCity_Drawing_Brush_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="GrapeCity.Drawing.Brush.html">Brush</a> instance with the same value as an existing brush.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Brush_Equals_GrapeCity_Drawing_Brush_" data-uid="GrapeCity.Drawing.Brush.Equals(GrapeCity.Drawing.Brush)">
          <a class="xref" href="GrapeCity.Drawing.Brush.Equals.html#GrapeCity_Drawing_Brush_Equals_GrapeCity_Drawing_Brush_">Equals(Brush)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the current object is equal to another object of the same type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Brush_GetColor" data-uid="GrapeCity.Drawing.Brush.GetColor">
          <a class="xref" href="GrapeCity.Drawing.Brush.GetColor.html#GrapeCity_Drawing_Brush_GetColor">GetColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the solid color from this brush.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Brush_ResetTransparency" data-uid="GrapeCity.Drawing.Brush.ResetTransparency">
          <a class="xref" href="GrapeCity.Drawing.Brush.ResetTransparency.html#GrapeCity_Drawing_Brush_ResetTransparency">ResetTransparency()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets transparency from the brush.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
