# GrapeCity.Documents.Common.Triangle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Common_Triangle" data-uid="GrapeCity.Documents.Common.Triangle" class="text-break">Triangle Struct
</h1>
  <div class="markdown level0 summary"><p>Represents a triangle defined by its three vertices.</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="GrapeCity.Documents.Common.Triangle.html">Triangle</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Common.html">GrapeCity.Documents.Common</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Common_Triangle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct Triangle : IEquatable&lt;Triangle&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure Triangle
    Implements IEquatable(Of Triangle)</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="GrapeCity_Documents_Common_Triangle__ctor_System_Drawing_PointF_System_Drawing_PointF_System_Drawing_PointF_" data-uid="GrapeCity.Documents.Common.Triangle.#ctor(System.Drawing.PointF,System.Drawing.PointF,System.Drawing.PointF)">
          <a class="xref" href="GrapeCity.Documents.Common.Triangle.-ctor.html#GrapeCity_Documents_Common_Triangle__ctor_System_Drawing_PointF_System_Drawing_PointF_System_Drawing_PointF_">Triangle(PointF, PointF, PointF)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Common.Triangle.html">Triangle</a> struct from its three vertices.</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="GrapeCity_Documents_Common_Triangle_A" data-uid="GrapeCity.Documents.Common.Triangle.A">
          <a class="xref" href="GrapeCity.Documents.Common.Triangle.A.html#GrapeCity_Documents_Common_Triangle_A">A</a>
        </td>
        <td class="markdown level1 summary"><p>The first vertex of the triangle.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_Triangle_B" data-uid="GrapeCity.Documents.Common.Triangle.B">
          <a class="xref" href="GrapeCity.Documents.Common.Triangle.B.html#GrapeCity_Documents_Common_Triangle_B">B</a>
        </td>
        <td class="markdown level1 summary"><p>The second vertex of the triangle.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_Triangle_C" data-uid="GrapeCity.Documents.Common.Triangle.C">
          <a class="xref" href="GrapeCity.Documents.Common.Triangle.C.html#GrapeCity_Documents_Common_Triangle_C">C</a>
        </td>
        <td class="markdown level1 summary"><p>The third vertex of the triangle.</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="GrapeCity_Documents_Common_Triangle_Equals_GrapeCity_Documents_Common_Triangle_" data-uid="GrapeCity.Documents.Common.Triangle.Equals(GrapeCity.Documents.Common.Triangle)">
          <a class="xref" href="GrapeCity.Documents.Common.Triangle.Equals.html#GrapeCity_Documents_Common_Triangle_Equals_GrapeCity_Documents_Common_Triangle_">Equals(Triangle)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_Triangle_Equals_System_Object_" data-uid="GrapeCity.Documents.Common.Triangle.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Documents.Common.Triangle.Equals.html#GrapeCity_Documents_Common_Triangle_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_Triangle_GetHashCode" data-uid="GrapeCity.Documents.Common.Triangle.GetHashCode">
          <a class="xref" href="GrapeCity.Documents.Common.Triangle.GetHashCode.html#GrapeCity_Documents_Common_Triangle_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"></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="GrapeCity_Documents_Common_Triangle_op_Equality_GrapeCity_Documents_Common_Triangle_GrapeCity_Documents_Common_Triangle_" data-uid="GrapeCity.Documents.Common.Triangle.op_Equality(GrapeCity.Documents.Common.Triangle,GrapeCity.Documents.Common.Triangle)">
          <a class="xref" href="GrapeCity.Documents.Common.Triangle.op_Equality.html#GrapeCity_Documents_Common_Triangle_op_Equality_GrapeCity_Documents_Common_Triangle_GrapeCity_Documents_Common_Triangle_">operator ==(Triangle, Triangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests whether two specified <a class="xref" href="GrapeCity.Documents.Common.Triangle.html">Triangle</a> objects are equivalent.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_Triangle_op_Inequality_GrapeCity_Documents_Common_Triangle_GrapeCity_Documents_Common_Triangle_" data-uid="GrapeCity.Documents.Common.Triangle.op_Inequality(GrapeCity.Documents.Common.Triangle,GrapeCity.Documents.Common.Triangle)">
          <a class="xref" href="GrapeCity.Documents.Common.Triangle.op_Inequality.html#GrapeCity_Documents_Common_Triangle_op_Inequality_GrapeCity_Documents_Common_Triangle_GrapeCity_Documents_Common_Triangle_">operator !=(Triangle, Triangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests whether two specified <a class="xref" href="GrapeCity.Documents.Common.Line.html">Line</a> objects are not equivalent.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
