# GrapeCity.Documents.Drawing.DMatrix

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Drawing_DMatrix" data-uid="GrapeCity.Documents.Drawing.DMatrix" class="text-break">DMatrix Struct
</h1>
  <div class="markdown level0 summary"><p>Contains the result of matrix decomposition.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Drawing.html">GrapeCity.Documents.Drawing</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Drawing_DMatrix_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct DMatrix</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure DMatrix</code></pre>
  </div>
  <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="GrapeCity_Documents_Drawing_DMatrix_Rotation" data-uid="GrapeCity.Documents.Drawing.DMatrix.Rotation">
          <a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.Rotation.html">Rotation</a>
        </td>
        <td class="markdown level1 summary"><p>The rotation angle in radians.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_DMatrix_ScaleX" data-uid="GrapeCity.Documents.Drawing.DMatrix.ScaleX">
          <a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.ScaleX.html">ScaleX</a>
        </td>
        <td class="markdown level1 summary"><p>The value to scale by on the X axis.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_DMatrix_ScaleY" data-uid="GrapeCity.Documents.Drawing.DMatrix.ScaleY">
          <a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.ScaleY.html">ScaleY</a>
        </td>
        <td class="markdown level1 summary"><p>The value to scale by on the Y axis.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_DMatrix_SkewX" data-uid="GrapeCity.Documents.Drawing.DMatrix.SkewX">
          <a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.SkewX.html">SkewX</a>
        </td>
        <td class="markdown level1 summary"><p>The X angle, in radians.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_DMatrix_SkewY" data-uid="GrapeCity.Documents.Drawing.DMatrix.SkewY">
          <a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.SkewY.html">SkewY</a>
        </td>
        <td class="markdown level1 summary"><p>The Y angle, in radians.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_DMatrix_TranslationX" data-uid="GrapeCity.Documents.Drawing.DMatrix.TranslationX">
          <a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.TranslationX.html">TranslationX</a>
        </td>
        <td class="markdown level1 summary"><p>The X offset.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_DMatrix_TranslationY" data-uid="GrapeCity.Documents.Drawing.DMatrix.TranslationY">
          <a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.TranslationY.html">TranslationY</a>
        </td>
        <td class="markdown level1 summary"><p>The Y offset.</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_Drawing_DMatrix_ToMatrix" data-uid="GrapeCity.Documents.Drawing.DMatrix.ToMatrix">
          <a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.ToMatrix.html#GrapeCity_Documents_Drawing_DMatrix_ToMatrix">ToMatrix()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.matrix3x2">Matrix3x2</a> from decomposition info.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_DMatrix_ToString" data-uid="GrapeCity.Documents.Drawing.DMatrix.ToString">
          <a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.ToString.html#GrapeCity_Documents_Drawing_DMatrix_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_DMatrix_TryCreate_System_Numerics_Matrix3x2_GrapeCity_Documents_Drawing_DMatrix__" data-uid="GrapeCity.Documents.Drawing.DMatrix.TryCreate(System.Numerics.Matrix3x2,GrapeCity.Documents.Drawing.DMatrix@)">
          <a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.TryCreate.html#GrapeCity_Documents_Drawing_DMatrix_TryCreate_System_Numerics_Matrix3x2_GrapeCity_Documents_Drawing_DMatrix__">TryCreate(Matrix3x2, out DMatrix)</a>
        </td>
        <td class="markdown level1 summary"><p>Tries to create the <a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.html">DMatrix</a> from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.matrix3x2">Matrix3x2</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
