# C1.C1Preview.Shadow.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_Shadow__ctor_" data-uid="C1.C1Preview.Shadow.#ctor*">Shadow Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_Shadow__ctor_" data-uid="C1.C1Preview.Shadow.#ctor*"></a>
<h4 id="C1_C1Preview_Shadow__ctor_System_Single_System_Single_C1_C1Preview_Unit_System_Single_System_Drawing_Color_" data-uid="C1.C1Preview.Shadow.#ctor(System.Single,System.Single,C1.C1Preview.Unit,System.Single,System.Drawing.Color)">Shadow(float, float, Unit, float, Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.Shadow.html">Shadow</a> structure,
assigning <a class="xref" href="C1.C1Preview.Shadow.Transparency.html#C1_C1Preview_Shadow_Transparency">Transparency</a>, <a class="xref" href="C1.C1Preview.Shadow.Size.html#C1_C1Preview_Shadow_Size">Size</a>, <a class="xref" href="C1.C1Preview.Shadow.Distance.html#C1_C1Preview_Shadow_Distance">Distance</a> and <a class="xref" href="C1.C1Preview.Shadow.Angle.html#C1_C1Preview_Shadow_Angle">Angle</a>
values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Shadow(float transparency, float size, Unit distance, float angle, Color color)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(transparency As Single, size As Single, distance As Unit, angle As Single, color As Color)</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.single">float</a></td>
      <td><span class="parametername">transparency</span></td>
      <td><p>A value assigned to the <a class="xref" href="C1.C1Preview.Shadow.Transparency.html#C1_C1Preview_Shadow_Transparency">Transparency</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>A value assigned to the <a class="xref" href="C1.C1Preview.Shadow.Size.html#C1_C1Preview_Shadow_Size">Size</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">distance</span></td>
      <td><p>An absolute <a class="xref" href="C1.C1Preview.Unit.html">Unit</a> value assigned to the <a class="xref" href="C1.C1Preview.Shadow.Distance.html#C1_C1Preview_Shadow_Distance">Distance</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">angle</span></td>
      <td><p>A value assigned to the <a class="xref" href="C1.C1Preview.Shadow.Angle.html#C1_C1Preview_Shadow_Angle">Angle</a> property.</p>
</td>
    </tr>
    <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 value assigned to the <a class="xref" href="C1.C1Preview.Shadow.Color.html#C1_C1Preview_Shadow_Color">Color</a> property.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
