# C1.Util.DX.Direct2D.SolidColorBrush.Create

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_SolidColorBrush_Create_" data-uid="C1.Util.DX.Direct2D.SolidColorBrush.Create*">Create Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_SolidColorBrush_Create_" data-uid="C1.Util.DX.Direct2D.SolidColorBrush.Create*"></a>
<h4 id="C1_Util_DX_Direct2D_SolidColorBrush_Create_C1_Util_DX_Direct2D_RenderTarget_C1_Util_DX_ColorF_" data-uid="C1.Util.DX.Direct2D.SolidColorBrush.Create(C1.Util.DX.Direct2D.RenderTarget,C1.Util.DX.ColorF)">Create(RenderTarget, ColorF)</h4>
<div class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.Util.DX.Direct2D.SolidColorBrush.html">SolidColorBrush</a> that has the specified color and opacity.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static SolidColorBrush Create(RenderTarget renderTarget, ColorF color)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(renderTarget As RenderTarget, color As ColorF) As SolidColorBrush</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="C1.Util.DX.Direct2D.RenderTarget.html">RenderTarget</a></td>
      <td><span class="parametername">renderTarget</span></td>
      <td><p>an instance of <a class="xref" href="C1.Util.DX.Direct2D.RenderTarget.html">RenderTarget</a></p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.ColorF.html">ColorF</a></td>
      <td><span class="parametername">color</span></td>
      <td><p>The red, green, blue, and alpha values of the brush's color.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.SolidColorBrush.html">SolidColorBrush</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_SolidColorBrush_Create_" data-uid="C1.Util.DX.Direct2D.SolidColorBrush.Create*"></a>
<h4 id="C1_Util_DX_Direct2D_SolidColorBrush_Create_C1_Util_DX_Direct2D_RenderTarget_C1_Util_DX_ColorF_System_Nullable_C1_Util_DX_Direct2D_BrushProperties__" data-uid="C1.Util.DX.Direct2D.SolidColorBrush.Create(C1.Util.DX.Direct2D.RenderTarget,C1.Util.DX.ColorF,System.Nullable{C1.Util.DX.Direct2D.BrushProperties})">Create(RenderTarget, ColorF, BrushProperties?)</h4>
<div class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.Util.DX.Direct2D.SolidColorBrush.html">SolidColorBrush</a> that has the specified color and opacity.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static SolidColorBrush Create(RenderTarget renderTarget, ColorF color, BrushProperties? brushProperties)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(renderTarget As RenderTarget, color As ColorF, brushProperties As BrushProperties?) As SolidColorBrush</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="C1.Util.DX.Direct2D.RenderTarget.html">RenderTarget</a></td>
      <td><span class="parametername">renderTarget</span></td>
      <td><p>an instance of <a class="xref" href="C1.Util.DX.Direct2D.RenderTarget.html">RenderTarget</a></p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.ColorF.html">ColorF</a></td>
      <td><span class="parametername">color</span></td>
      <td><p>The red, green, blue, and alpha values of the brush's color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.BrushProperties.html">BrushProperties</a>?</td>
      <td><span class="parametername">brushProperties</span></td>
      <td><p>The base opacity of the brush.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.SolidColorBrush.html">SolidColorBrush</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
