# C1.Util.DX.Point2D.Offset

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Point2D_Offset_" data-uid="C1.Util.DX.Point2D.Offset*">Offset Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Point2D_Offset_" data-uid="C1.Util.DX.Point2D.Offset*"></a>
<h4 id="C1_Util_DX_Point2D_Offset_System_Double_System_Double_" data-uid="C1.Util.DX.Point2D.Offset(System.Double,System.Double)">Offset(double, double)</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(double dx, double dy)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Offset(dx As Double, dy As Double)</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.double">double</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.double">double</a></td>
      <td><span class="parametername">dy</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2D_Offset_" data-uid="C1.Util.DX.Point2D.Offset*"></a>
<h4 id="C1_Util_DX_Point2D_Offset_C1_Util_DX_Size2D_" data-uid="C1.Util.DX.Point2D.Offset(C1.Util.DX.Size2D)">Offset(Size2D)</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(Size2D sz)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Offset(sz As Size2D)</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.Size2D.html">Size2D</a></td>
      <td><span class="parametername">sz</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2D_Offset_" data-uid="C1.Util.DX.Point2D.Offset*"></a>
<h4 id="C1_Util_DX_Point2D_Offset_C1_Util_DX_Point2D_" data-uid="C1.Util.DX.Point2D.Offset(C1.Util.DX.Point2D)">Offset(Point2D)</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(Point2D pt)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Offset(pt As Point2D)</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.Point2D.html">Point2D</a></td>
      <td><span class="parametername">pt</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2D_Offset_" data-uid="C1.Util.DX.Point2D.Offset*"></a>
<h4 id="C1_Util_DX_Point2D_Offset_C1_Util_DX_Point2D_System_Double_System_Double_" data-uid="C1.Util.DX.Point2D.Offset(C1.Util.DX.Point2D,System.Double,System.Double)">Offset(Point2D, double, double)</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 Point2D Offset(Point2D pt, double dx, double dy)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Offset(pt As Point2D, dx As Double, dy As Double) As Point2D</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.Point2D.html">Point2D</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.double">double</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.double">double</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.Point2D.html">Point2D</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2D_Offset_" data-uid="C1.Util.DX.Point2D.Offset*"></a>
<h4 id="C1_Util_DX_Point2D_Offset_C1_Util_DX_Point2D_C1_Util_DX_Size2D_" data-uid="C1.Util.DX.Point2D.Offset(C1.Util.DX.Point2D,C1.Util.DX.Size2D)">Offset(Point2D, Size2D)</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 Point2D Offset(Point2D pt, Size2D sz)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Offset(pt As Point2D, sz As Size2D) As Point2D</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.Point2D.html">Point2D</a></td>
      <td><span class="parametername">pt</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Size2D.html">Size2D</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.Point2D.html">Point2D</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Point2D_Offset_" data-uid="C1.Util.DX.Point2D.Offset*"></a>
<h4 id="C1_Util_DX_Point2D_Offset_C1_Util_DX_Point2D_C1_Util_DX_Point2D_" data-uid="C1.Util.DX.Point2D.Offset(C1.Util.DX.Point2D,C1.Util.DX.Point2D)">Offset(Point2D, Point2D)</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 Point2D Offset(Point2D point1, Point2D point2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Offset(point1 As Point2D, point2 As Point2D) As Point2D</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.Point2D.html">Point2D</a></td>
      <td><span class="parametername">point1</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Point2D.html">Point2D</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.Point2D.html">Point2D</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
