# C1.Util.DX.Point2L

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Point2L" data-uid="C1.Util.DX.Point2L" class="text-break">Point2L Struct
</h1>
  <div class="markdown level0 summary"><p>Structure specifing a point with integer X and Y coordinates.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="C1.Util.DX.Point2L.html">Point2L</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.html">C1.Util.DX</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_Point2L_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct Point2L : IEquatable&lt;Point2L&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure Point2L
    Implements IEquatable(Of Point2L)</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Point2L__ctor_System_Drawing_Point_" data-uid="C1.Util.DX.Point2L.#ctor(System.Drawing.Point)">
          <a class="xref" href="C1.Util.DX.Point2L.-ctor.html#C1_Util_DX_Point2L__ctor_System_Drawing_Point_">Point2L(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Point2L.html">Point2L</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L__ctor_System_Int32_System_Int32_" data-uid="C1.Util.DX.Point2L.#ctor(System.Int32,System.Int32)">
          <a class="xref" href="C1.Util.DX.Point2L.-ctor.html#C1_Util_DX_Point2L__ctor_System_Int32_System_Int32_">Point2L(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Point2L.html">Point2L</a> struct.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Point2L_Empty" data-uid="C1.Util.DX.Point2L.Empty">
          <a class="xref" href="C1.Util.DX.Point2L.Empty.html">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>An empty point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_SizeInBytes" data-uid="C1.Util.DX.Point2L.SizeInBytes">
          <a class="xref" href="C1.Util.DX.Point2L.SizeInBytes.html">SizeInBytes</a>
        </td>
        <td class="markdown level1 summary"><p>The size of the <a class="xref" href="C1.Util.DX.Point2L.html">Point2L</a> type, in bytes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_X" data-uid="C1.Util.DX.Point2L.X">
          <a class="xref" href="C1.Util.DX.Point2L.X.html">X</a>
        </td>
        <td class="markdown level1 summary"><p>The X coordinate of the point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_Y" data-uid="C1.Util.DX.Point2L.Y">
          <a class="xref" href="C1.Util.DX.Point2L.Y.html">Y</a>
        </td>
        <td class="markdown level1 summary"><p>The Y coordinate of the point.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Point2L_IsEmpty" data-uid="C1.Util.DX.Point2L.IsEmpty">
          <a class="xref" href="C1.Util.DX.Point2L.IsEmpty.html#C1_Util_DX_Point2L_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if all components of <a class="xref" href="C1.Util.DX.Point2L.html">Point2L</a> are equal to zero.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Point2L_Equals_C1_Util_DX_Point2L_" data-uid="C1.Util.DX.Point2L.Equals(C1.Util.DX.Point2L)">
          <a class="xref" href="C1.Util.DX.Point2L.Equals.html#C1_Util_DX_Point2L_Equals_C1_Util_DX_Point2L_">Equals(Point2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether this instance and a specified object are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_Equals_System_Object_" data-uid="C1.Util.DX.Point2L.Equals(System.Object)">
          <a class="xref" href="C1.Util.DX.Point2L.Equals.html#C1_Util_DX_Point2L_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether this instance and a specified object are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_GetHashCode" data-uid="C1.Util.DX.Point2L.GetHashCode">
          <a class="xref" href="C1.Util.DX.Point2L.GetHashCode.html#C1_Util_DX_Point2L_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_Offset_C1_Util_DX_Point2L_" data-uid="C1.Util.DX.Point2L.Offset(C1.Util.DX.Point2L)">
          <a class="xref" href="C1.Util.DX.Point2L.Offset.html#C1_Util_DX_Point2L_Offset_C1_Util_DX_Point2L_">Offset(Point2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_Offset_C1_Util_DX_Point2L_C1_Util_DX_Point2L_" data-uid="C1.Util.DX.Point2L.Offset(C1.Util.DX.Point2L,C1.Util.DX.Point2L)">
          <a class="xref" href="C1.Util.DX.Point2L.Offset.html#C1_Util_DX_Point2L_Offset_C1_Util_DX_Point2L_C1_Util_DX_Point2L_">Offset(Point2L, Point2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_Offset_C1_Util_DX_Point2L_C1_Util_DX_Size2L_" data-uid="C1.Util.DX.Point2L.Offset(C1.Util.DX.Point2L,C1.Util.DX.Size2L)">
          <a class="xref" href="C1.Util.DX.Point2L.Offset.html#C1_Util_DX_Point2L_Offset_C1_Util_DX_Point2L_C1_Util_DX_Size2L_">Offset(Point2L, Size2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_Offset_C1_Util_DX_Point2L_System_Int32_System_Int32_" data-uid="C1.Util.DX.Point2L.Offset(C1.Util.DX.Point2L,System.Int32,System.Int32)">
          <a class="xref" href="C1.Util.DX.Point2L.Offset.html#C1_Util_DX_Point2L_Offset_C1_Util_DX_Point2L_System_Int32_System_Int32_">Offset(Point2L, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_Offset_C1_Util_DX_Size2L_" data-uid="C1.Util.DX.Point2L.Offset(C1.Util.DX.Size2L)">
          <a class="xref" href="C1.Util.DX.Point2L.Offset.html#C1_Util_DX_Point2L_Offset_C1_Util_DX_Size2L_">Offset(Size2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_Offset_System_Int32_System_Int32_" data-uid="C1.Util.DX.Point2L.Offset(System.Int32,System.Int32)">
          <a class="xref" href="C1.Util.DX.Point2L.Offset.html#C1_Util_DX_Point2L_Offset_System_Int32_System_Int32_">Offset(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Offsets the point by the specified amount.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_ToPoint" data-uid="C1.Util.DX.Point2L.ToPoint">
          <a class="xref" href="C1.Util.DX.Point2L.ToPoint.html#C1_Util_DX_Point2L_ToPoint">ToPoint()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts <a class="xref" href="C1.Util.DX.Point2L.html">Point2L</a> to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_ToPoint2D" data-uid="C1.Util.DX.Point2L.ToPoint2D">
          <a class="xref" href="C1.Util.DX.Point2L.ToPoint2D.html#C1_Util_DX_Point2L_ToPoint2D">ToPoint2D()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts <a class="xref" href="C1.Util.DX.Point2L.html">Point2L</a> to <a class="xref" href="C1.Util.DX.Point2D.html">Point2D</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_ToPoint2F" data-uid="C1.Util.DX.Point2L.ToPoint2F">
          <a class="xref" href="C1.Util.DX.Point2L.ToPoint2F.html#C1_Util_DX_Point2L_ToPoint2F">ToPoint2F()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts <a class="xref" href="C1.Util.DX.Point2L.html">Point2L</a> to <a class="xref" href="C1.Util.DX.Point2F.html">Point2F</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_ToString" data-uid="C1.Util.DX.Point2L.ToString">
          <a class="xref" href="C1.Util.DX.Point2L.ToString.html#C1_Util_DX_Point2L_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Point2L_op_Addition_C1_Util_DX_Point2L_C1_Util_DX_Point2L_" data-uid="C1.Util.DX.Point2L.op_Addition(C1.Util.DX.Point2L,C1.Util.DX.Point2L)">
          <a class="xref" href="C1.Util.DX.Point2L.op_Addition.html#C1_Util_DX_Point2L_op_Addition_C1_Util_DX_Point2L_C1_Util_DX_Point2L_">operator +(Point2L, Point2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the result of addition of point2 to point1.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_op_Addition_C1_Util_DX_Point2L_C1_Util_DX_Size2L_" data-uid="C1.Util.DX.Point2L.op_Addition(C1.Util.DX.Point2L,C1.Util.DX.Size2L)">
          <a class="xref" href="C1.Util.DX.Point2L.op_Addition.html#C1_Util_DX_Point2L_op_Addition_C1_Util_DX_Point2L_C1_Util_DX_Size2L_">operator +(Point2L, Size2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the result of addition of size to point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_op_Equality_C1_Util_DX_Point2L_C1_Util_DX_Point2L_" data-uid="C1.Util.DX.Point2L.op_Equality(C1.Util.DX.Point2L,C1.Util.DX.Point2L)">
          <a class="xref" href="C1.Util.DX.Point2L.op_Equality.html#C1_Util_DX_Point2L_op_Equality_C1_Util_DX_Point2L_C1_Util_DX_Point2L_">operator ==(Point2L, Point2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if the specified values are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_op_Explicit_C1_Util_DX_Point2L__System_Drawing_Point" data-uid="C1.Util.DX.Point2L.op_Explicit(C1.Util.DX.Point2L)~System.Drawing.Point">
          <a class="xref" href="C1.Util.DX.Point2L.op_Explicit.html#C1_Util_DX_Point2L_op_Explicit_C1_Util_DX_Point2L__System_Drawing_Point">explicit operator Point(Point2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="C1.Util.DX.Point2L.html">Point2L</a> to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_op_Explicit_System_Drawing_Point__C1_Util_DX_Point2L" data-uid="C1.Util.DX.Point2L.op_Explicit(System.Drawing.Point)~C1.Util.DX.Point2L">
          <a class="xref" href="C1.Util.DX.Point2L.op_Explicit.html#C1_Util_DX_Point2L_op_Explicit_System_Drawing_Point__C1_Util_DX_Point2L">explicit operator Point2L(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a> to <a class="xref" href="C1.Util.DX.Point2L.html">Point2L</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_op_Inequality_C1_Util_DX_Point2L_C1_Util_DX_Point2L_" data-uid="C1.Util.DX.Point2L.op_Inequality(C1.Util.DX.Point2L,C1.Util.DX.Point2L)">
          <a class="xref" href="C1.Util.DX.Point2L.op_Inequality.html#C1_Util_DX_Point2L_op_Inequality_C1_Util_DX_Point2L_C1_Util_DX_Point2L_">operator !=(Point2L, Point2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if the specified values are not equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_op_Subtraction_C1_Util_DX_Point2L_C1_Util_DX_Point2L_" data-uid="C1.Util.DX.Point2L.op_Subtraction(C1.Util.DX.Point2L,C1.Util.DX.Point2L)">
          <a class="xref" href="C1.Util.DX.Point2L.op_Subtraction.html#C1_Util_DX_Point2L_op_Subtraction_C1_Util_DX_Point2L_C1_Util_DX_Point2L_">operator -(Point2L, Point2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the result of substruction of point2 from point1.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Point2L_op_Subtraction_C1_Util_DX_Point2L_C1_Util_DX_Size2L_" data-uid="C1.Util.DX.Point2L.op_Subtraction(C1.Util.DX.Point2L,C1.Util.DX.Size2L)">
          <a class="xref" href="C1.Util.DX.Point2L.op_Subtraction.html#C1_Util_DX_Point2L_op_Subtraction_C1_Util_DX_Point2L_C1_Util_DX_Size2L_">operator -(Point2L, Size2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the result of substruction of size from point.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
