# C1.Framework.Drawing.Gdi.Brush

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_Drawing_Gdi_Brush" data-uid="C1.Framework.Drawing.Gdi.Brush" class="text-break">Brush Class
</h1>
  <div class="markdown level0 summary"><p>Represents the base class of all kinds of 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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="C1.Framework.Drawing.Gdi.GdiObject.html">GdiObject</a></div>
    <div class="level3"><span class="xref">Brush</span></div>
      <div class="level4"><a class="xref" href="C1.Framework.Drawing.Gdi.ColorBrush.html">ColorBrush</a></div>
      <div class="level4"><a class="xref" href="C1.Framework.Drawing.Gdi.GradientBrush.html">GradientBrush</a></div>
      <div class="level4"><a class="xref" href="C1.Framework.Drawing.Gdi.HatchBrush.html">HatchBrush</a></div>
      <div class="level4"><a class="xref" href="C1.Framework.Drawing.Gdi.HollowBrush.html">HollowBrush</a></div>
      <div class="level4"><a class="xref" href="C1.Framework.Drawing.Gdi.PatternBrush.html">PatternBrush</a></div>
      <div class="level4"><a class="xref" href="C1.Framework.Drawing.Gdi.SolidBrush.html">SolidBrush</a></div>
      <div class="level4"><a class="xref" href="C1.Framework.Drawing.Gdi.TextureBrush.html">TextureBrush</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</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.Framework.Drawing.Gdi.html">C1.Framework.Drawing.Gdi</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Framework_Drawing_Gdi_Brush_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class Brush : GdiObject, IDisposable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class Brush
    Inherits GdiObject
    Implements IDisposable, ICloneable</code></pre>
  </div>
  <h5 id="C1_Framework_Drawing_Gdi_Brush_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This is an abstract class, which is just details that it's ranged to Brush.
To use a <a class="xref" href="C1.Framework.Drawing.Gdi.Brush.html">Brush</a>, you should create an instance from its inherited class.
Refer to <a class="xref" href="C1.Framework.Drawing.Gdi.SolidBrush.html">SolidBrush</a>, <a class="xref" href="C1.Framework.Drawing.Gdi.HatchBrush.html">HatchBrush</a>, <a class="xref" href="C1.Framework.Drawing.Gdi.PatternBrush.html">PatternBrush</a></p>
</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_Framework_Drawing_Gdi_Brush__ctor" data-uid="C1.Framework.Drawing.Gdi.Brush.#ctor">
          <a class="xref" href="C1.Framework.Drawing.Gdi.Brush.-ctor.html#C1_Framework_Drawing_Gdi_Brush__ctor">Brush()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
