# GrapeCity.Win.Spread.InputMan.CellType.Bevel.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_Bevel__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.#ctor*">Bevel Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_Bevel__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_Bevel__ctor_System_Drawing_Color_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.#ctor(System.Drawing.Color,System.Int32,System.Int32,System.Int32)">Bevel(Color, int, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.html">Bevel</a> instance using the
specified attributes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Bevel(Color color, int width, int lightness, int darkness)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(color As Color, width As Integer, lightness As Integer, darkness As Integer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">color</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Color.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Color">Color</a> that represents the bevel background.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value that indicates the width of the bevel.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">lightness</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value (between -100 through 100) that indicates
the lighting percentage.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">darkness</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value (between -100 through 100) that indicates
the shading percentage.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
