# C1.Util.DX.Direct2D.RenderTarget.DefaultStrokeWidth

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_Util_DX_Direct2D_RenderTarget_DefaultStrokeWidth" data-uid="C1.Util.DX.Direct2D.RenderTarget.DefaultStrokeWidth" class="text-break">DefaultStrokeWidth Field
</h1>
<div class="markdown level0 summary"><p>Default stroke width used for all methods that are not explicitly using it. Default is set to 1.0f.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.Direct2D.html">C1.Util.DX.Direct2D</a></h6>
<h6><strong>Assembly</strong>: C1.Win.DX.4.8.dll</h6>
<h5 id="C1_Util_DX_Direct2D_RenderTarget_DefaultStrokeWidth_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public const float DefaultStrokeWidth = 1</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Const DefaultStrokeWidth As Single = 1</code></pre>
</div>
<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="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td>Default stroke width used for all methods that are not explicitly using it. Default is set to 1.0f.</td>
    </tr>
  </tbody>
</table>
</div>
