# GrapeCity.Documents.Drawing.SolidBrush

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Drawing_SolidBrush" data-uid="GrapeCity.Documents.Drawing.SolidBrush" class="text-break">SolidBrush Class
</h1>
  <div class="markdown level0 summary"><p>Represents a solid color 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="GrapeCity.Documents.Drawing.Brush.html">Brush</a></div>
    <div class="level2"><span class="xref">SolidBrush</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_SolidBrush_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SolidBrush : Brush</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SolidBrush
    Inherits Brush</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_SolidBrush__ctor_System_Drawing_Color_" data-uid="GrapeCity.Documents.Drawing.SolidBrush.#ctor(System.Drawing.Color)">
          <a class="xref" href="GrapeCity.Documents.Drawing.SolidBrush.-ctor.html#GrapeCity_Documents_Drawing_SolidBrush__ctor_System_Drawing_Color_">SolidBrush(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Drawing.SolidBrush.html">SolidBrush</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_SolidBrush_Color" data-uid="GrapeCity.Documents.Drawing.SolidBrush.Color">
          <a class="xref" href="GrapeCity.Documents.Drawing.SolidBrush.Color.html#GrapeCity_Documents_Drawing_SolidBrush_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of this brush.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_SolidBrush_Visible" data-uid="GrapeCity.Documents.Drawing.SolidBrush.Visible">
          <a class="xref" href="GrapeCity.Documents.Drawing.SolidBrush.Visible.html#GrapeCity_Documents_Drawing_SolidBrush_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the brush is actually visible.</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_Documents_Drawing_SolidBrush_SameBrush_GrapeCity_Documents_Drawing_Brush_" data-uid="GrapeCity.Documents.Drawing.SolidBrush.SameBrush(GrapeCity.Documents.Drawing.Brush)">
          <a class="xref" href="GrapeCity.Documents.Drawing.SolidBrush.SameBrush.html#GrapeCity_Documents_Drawing_SolidBrush_SameBrush_GrapeCity_Documents_Drawing_Brush_">SameBrush(Brush)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns True if the specified brush is the same as the current brush.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
