# C1.Xamarin.Forms.Core.IRenderEngine.SetClipRect

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Xamarin_Forms_Core_IRenderEngine_SetClipRect_" data-uid="C1.Xamarin.Forms.Core.IRenderEngine.SetClipRect*">SetClipRect Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Xamarin_Forms_Core_IRenderEngine_SetClipRect_" data-uid="C1.Xamarin.Forms.Core.IRenderEngine.SetClipRect*"></a>
<h4 id="C1_Xamarin_Forms_Core_IRenderEngine_SetClipRect_System_Nullable_Xamarin_Forms_Rectangle__" data-uid="C1.Xamarin.Forms.Core.IRenderEngine.SetClipRect(System.Nullable{Xamarin.Forms.Rectangle})">SetClipRect(Rectangle?)</h4>
<div class="markdown level1 summary"><p>Sets clip rectangle.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void SetClipRect(Rectangle? rect)</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><span class="xref">Rectangle</span>?</td>
      <td><span class="parametername">rect</span></td>
      <td><p>Clip rectangle. Null clear clipping rectangle.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
