# C1.Util.DX.Direct2D.RadialGradientBrush.Create

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_RadialGradientBrush_Create_" data-uid="C1.Util.DX.Direct2D.RadialGradientBrush.Create*">Create Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_RadialGradientBrush_Create_" data-uid="C1.Util.DX.Direct2D.RadialGradientBrush.Create*"></a>
<h4 id="C1_Util_DX_Direct2D_RadialGradientBrush_Create_C1_Util_DX_Direct2D_RenderTarget_C1_Util_DX_Direct2D_RadialGradientBrushProperties__C1_Util_DX_Direct2D_GradientStopCollection_" data-uid="C1.Util.DX.Direct2D.RadialGradientBrush.Create(C1.Util.DX.Direct2D.RenderTarget,C1.Util.DX.Direct2D.RadialGradientBrushProperties@,C1.Util.DX.Direct2D.GradientStopCollection)">Create(RenderTarget, ref RadialGradientBrushProperties, GradientStopCollection)</h4>
<div class="markdown level1 summary"><p>Creates an <a class="xref" href="C1.Util.DX.Direct2D.RadialGradientBrush.html">RadialGradientBrush</a> that contains the specified gradient stops and has the specified transform and base opacity.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[CLSCompliant(false)]
public static RadialGradientBrush Create(RenderTarget renderTarget, ref RadialGradientBrushProperties radialGradientBrushProperties, GradientStopCollection gradientStopCollection)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;CLSCompliant(False)&gt;
Public Shared Function Create(renderTarget As RenderTarget, ByRef radialGradientBrushProperties As RadialGradientBrushProperties, gradientStopCollection As GradientStopCollection) As RadialGradientBrush</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.Direct2D.RadialGradientBrushProperties.html">RadialGradientBrushProperties</a></td>
      <td><span class="parametername">radialGradientBrushProperties</span></td>
      <td><p>The center, gradient origin offset, and x-radius and y-radius of the brush's gradient.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.GradientStopCollection.html">GradientStopCollection</a></td>
      <td><span class="parametername">gradientStopCollection</span></td>
      <td><p>A collection of <a class="xref" href="C1.Util.DX.Direct2D.GradientStop.html">GradientStop</a> structures that describe the colors in the brush's gradient and their locations along the gradient.</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.RadialGradientBrush.html">RadialGradientBrush</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_RadialGradientBrush_Create_" data-uid="C1.Util.DX.Direct2D.RadialGradientBrush.Create*"></a>
<h4 id="C1_Util_DX_Direct2D_RadialGradientBrush_Create_C1_Util_DX_Direct2D_RenderTarget_C1_Util_DX_Direct2D_RadialGradientBrushProperties_C1_Util_DX_Direct2D_GradientStopCollection_" data-uid="C1.Util.DX.Direct2D.RadialGradientBrush.Create(C1.Util.DX.Direct2D.RenderTarget,C1.Util.DX.Direct2D.RadialGradientBrushProperties,C1.Util.DX.Direct2D.GradientStopCollection)">Create(RenderTarget, RadialGradientBrushProperties, GradientStopCollection)</h4>
<div class="markdown level1 summary"><p>Creates an <a class="xref" href="C1.Util.DX.Direct2D.RadialGradientBrush.html">RadialGradientBrush</a> that contains the specified gradient stops and has the specified transform and base 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 RadialGradientBrush Create(RenderTarget renderTarget, RadialGradientBrushProperties radialGradientBrushProperties, GradientStopCollection gradientStopCollection)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(renderTarget As RenderTarget, radialGradientBrushProperties As RadialGradientBrushProperties, gradientStopCollection As GradientStopCollection) As RadialGradientBrush</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.Direct2D.RadialGradientBrushProperties.html">RadialGradientBrushProperties</a></td>
      <td><span class="parametername">radialGradientBrushProperties</span></td>
      <td><p>The center, gradient origin offset, and x-radius and y-radius of the brush's gradient.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.GradientStopCollection.html">GradientStopCollection</a></td>
      <td><span class="parametername">gradientStopCollection</span></td>
      <td><p>A collection of <a class="xref" href="C1.Util.DX.Direct2D.GradientStop.html">GradientStop</a> structures that describe the colors in the brush's gradient and their locations along the gradient.</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.RadialGradientBrush.html">RadialGradientBrush</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_RadialGradientBrush_Create_" data-uid="C1.Util.DX.Direct2D.RadialGradientBrush.Create*"></a>
<h4 id="C1_Util_DX_Direct2D_RadialGradientBrush_Create_C1_Util_DX_Direct2D_RenderTarget_C1_Util_DX_Direct2D_RadialGradientBrushProperties_C1_Util_DX_Direct2D_BrushProperties_C1_Util_DX_Direct2D_GradientStopCollection_" data-uid="C1.Util.DX.Direct2D.RadialGradientBrush.Create(C1.Util.DX.Direct2D.RenderTarget,C1.Util.DX.Direct2D.RadialGradientBrushProperties,C1.Util.DX.Direct2D.BrushProperties,C1.Util.DX.Direct2D.GradientStopCollection)">Create(RenderTarget, RadialGradientBrushProperties, BrushProperties, GradientStopCollection)</h4>
<div class="markdown level1 summary"><p>Creates an <a class="xref" href="C1.Util.DX.Direct2D.RadialGradientBrush.html">RadialGradientBrush</a> that contains the specified gradient stops and has the specified transform and base 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 RadialGradientBrush Create(RenderTarget renderTarget, RadialGradientBrushProperties radialGradientBrushProperties, BrushProperties brushProperties, GradientStopCollection gradientStopCollection)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(renderTarget As RenderTarget, radialGradientBrushProperties As RadialGradientBrushProperties, brushProperties As BrushProperties, gradientStopCollection As GradientStopCollection) As RadialGradientBrush</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.Direct2D.RadialGradientBrushProperties.html">RadialGradientBrushProperties</a></td>
      <td><span class="parametername">radialGradientBrushProperties</span></td>
      <td><p>The center, gradient origin offset, and x-radius and y-radius of the brush's gradient.</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 transform and base opacity of the new brush, or NULL. If this value is NULL, the brush defaults to a base opacity of 1.0f and the identity matrix as its transformation.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.GradientStopCollection.html">GradientStopCollection</a></td>
      <td><span class="parametername">gradientStopCollection</span></td>
      <td><p>A collection of <a class="xref" href="C1.Util.DX.Direct2D.GradientStop.html">GradientStop</a> structures that describe the colors in the brush's gradient and their locations along the gradient.</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.RadialGradientBrush.html">RadialGradientBrush</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_RadialGradientBrush_Create_" data-uid="C1.Util.DX.Direct2D.RadialGradientBrush.Create*"></a>
<h4 id="C1_Util_DX_Direct2D_RadialGradientBrush_Create_C1_Util_DX_Direct2D_RenderTarget_C1_Util_DX_Direct2D_RadialGradientBrushProperties__System_Nullable_C1_Util_DX_Direct2D_BrushProperties__C1_Util_DX_Direct2D_GradientStopCollection_" data-uid="C1.Util.DX.Direct2D.RadialGradientBrush.Create(C1.Util.DX.Direct2D.RenderTarget,C1.Util.DX.Direct2D.RadialGradientBrushProperties@,System.Nullable{C1.Util.DX.Direct2D.BrushProperties},C1.Util.DX.Direct2D.GradientStopCollection)">Create(RenderTarget, ref RadialGradientBrushProperties, BrushProperties?, GradientStopCollection)</h4>
<div class="markdown level1 summary"><p>Creates an <a class="xref" href="C1.Util.DX.Direct2D.RadialGradientBrush.html">RadialGradientBrush</a> that contains the specified gradient stops and has the specified transform and base 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 RadialGradientBrush Create(RenderTarget renderTarget, ref RadialGradientBrushProperties radialGradientBrushProperties, BrushProperties? brushProperties, GradientStopCollection gradientStopCollection)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(renderTarget As RenderTarget, ByRef radialGradientBrushProperties As RadialGradientBrushProperties, brushProperties As BrushProperties?, gradientStopCollection As GradientStopCollection) As RadialGradientBrush</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.Direct2D.RadialGradientBrushProperties.html">RadialGradientBrushProperties</a></td>
      <td><span class="parametername">radialGradientBrushProperties</span></td>
      <td><p>The center, gradient origin offset, and x-radius and y-radius of the brush's gradient.</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 transform and base opacity of the new brush, or NULL. If this value is NULL, the brush defaults to a base opacity of 1.0f and the identity matrix as its transformation.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.GradientStopCollection.html">GradientStopCollection</a></td>
      <td><span class="parametername">gradientStopCollection</span></td>
      <td><p>A collection of <a class="xref" href="C1.Util.DX.Direct2D.GradientStop.html">GradientStop</a> structures that describe the colors in the brush's gradient and their locations along the gradient.</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.RadialGradientBrush.html">RadialGradientBrush</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
