# C1.Util.DX.Point2F.Offset

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Point2F_Offset_" data-uid="C1.Util.DX.Point2F.Offset*">Offset Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Point2F_Offset_" data-uid="C1.Util.DX.Point2F.Offset*"></a>
<h4 id="C1_Util_DX_Point2F_Offset_System_Single_System_Single_" data-uid="C1.Util.DX.Point2F.Offset(System.Single,System.Single)">Offset(float, float)</h4>
<div class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Offset(float dx, float dy)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Offset(dx As Single, dy As Single)</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">dx</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">dy</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2F_Offset_" data-uid="C1.Util.DX.Point2F.Offset*"></a>
<h4 id="C1_Util_DX_Point2F_Offset_C1_Util_DX_Size2F_" data-uid="C1.Util.DX.Point2F.Offset(C1.Util.DX.Size2F)">Offset(Size2F)</h4>
<div class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Offset(Size2F sz)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Offset(sz As Size2F)</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.Size2F.html">Size2F</a></td>
      <td><span class="parametername">sz</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2F_Offset_" data-uid="C1.Util.DX.Point2F.Offset*"></a>
<h4 id="C1_Util_DX_Point2F_Offset_C1_Util_DX_Point2F_" data-uid="C1.Util.DX.Point2F.Offset(C1.Util.DX.Point2F)">Offset(Point2F)</h4>
<div class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Offset(Point2F pt)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Offset(pt As Point2F)</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.Point2F.html">Point2F</a></td>
      <td><span class="parametername">pt</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2F_Offset_" data-uid="C1.Util.DX.Point2F.Offset*"></a>
<h4 id="C1_Util_DX_Point2F_Offset_C1_Util_DX_Vector2_" data-uid="C1.Util.DX.Point2F.Offset(C1.Util.DX.Vector2)">Offset(Vector2)</h4>
<div class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Offset(Vector2 vector)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Offset(vector As Vector2)</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.Vector2.html">Vector2</a></td>
      <td><span class="parametername">vector</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2F_Offset_" data-uid="C1.Util.DX.Point2F.Offset*"></a>
<h4 id="C1_Util_DX_Point2F_Offset_C1_Util_DX_Point2F_System_Single_System_Single_" data-uid="C1.Util.DX.Point2F.Offset(C1.Util.DX.Point2F,System.Single,System.Single)">Offset(Point2F, float, float)</h4>
<div class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Point2F Offset(Point2F pt, float dx, float dy)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Offset(pt As Point2F, dx As Single, dy As Single) As Point2F</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.Point2F.html">Point2F</a></td>
      <td><span class="parametername">pt</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">dx</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">dy</span></td>
      <td></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.Point2F.html">Point2F</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2F_Offset_" data-uid="C1.Util.DX.Point2F.Offset*"></a>
<h4 id="C1_Util_DX_Point2F_Offset_C1_Util_DX_Point2F_C1_Util_DX_Size2F_" data-uid="C1.Util.DX.Point2F.Offset(C1.Util.DX.Point2F,C1.Util.DX.Size2F)">Offset(Point2F, Size2F)</h4>
<div class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Point2F Offset(Point2F pt, Size2F sz)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Offset(pt As Point2F, sz As Size2F) As Point2F</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.Point2F.html">Point2F</a></td>
      <td><span class="parametername">pt</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Size2F.html">Size2F</a></td>
      <td><span class="parametername">sz</span></td>
      <td></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.Point2F.html">Point2F</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2F_Offset_" data-uid="C1.Util.DX.Point2F.Offset*"></a>
<h4 id="C1_Util_DX_Point2F_Offset_C1_Util_DX_Point2F_C1_Util_DX_Point2F_" data-uid="C1.Util.DX.Point2F.Offset(C1.Util.DX.Point2F,C1.Util.DX.Point2F)">Offset(Point2F, Point2F)</h4>
<div class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Point2F Offset(Point2F point1, Point2F point2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Offset(point1 As Point2F, point2 As Point2F) As Point2F</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.Point2F.html">Point2F</a></td>
      <td><span class="parametername">point1</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Point2F.html">Point2F</a></td>
      <td><span class="parametername">point2</span></td>
      <td></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.Point2F.html">Point2F</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2F_Offset_" data-uid="C1.Util.DX.Point2F.Offset*"></a>
<h4 id="C1_Util_DX_Point2F_Offset_C1_Util_DX_Point2F_C1_Util_DX_Vector2_" data-uid="C1.Util.DX.Point2F.Offset(C1.Util.DX.Point2F,C1.Util.DX.Vector2)">Offset(Point2F, Vector2)</h4>
<div class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Point2F Offset(Point2F pt, Vector2 offset)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Offset(pt As Point2F, offset As Vector2) As Point2F</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.Point2F.html">Point2F</a></td>
      <td><span class="parametername">pt</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Vector2.html">Vector2</a></td>
      <td><span class="parametername">offset</span></td>
      <td></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.Point2F.html">Point2F</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
