# GrapeCity.Documents.Imaging.ColorMatrix5x4

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Imaging_ColorMatrix5x4" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4" class="text-break">ColorMatrix5x4 Class
</h1>
  <div class="markdown level0 summary"><p>Represents a 5x4 matrix for altering the RGBA values of a <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ColorMatrix5x4</span></div>
  </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.Imaging.ColorMatrix5x4.html">ColorMatrix5x4</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Imaging.html">GrapeCity.Documents.Imaging</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Imaging_ColorMatrix5x4_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ColorMatrix5x4 : IEquatable&lt;ColorMatrix5x4&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ColorMatrix5x4
    Implements IEquatable(Of ColorMatrix5x4)</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_Imaging_ColorMatrix5x4__ctor" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.#ctor">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.-ctor.html#GrapeCity_Documents_Imaging_ColorMatrix5x4__ctor">ColorMatrix5x4()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an identity <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.html">ColorMatrix5x4</a> with M11, M22, M33, M44 components set to 1.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4__ctor_System_Single_" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.#ctor(System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.-ctor.html#GrapeCity_Documents_Imaging_ColorMatrix5x4__ctor_System_Single_">ColorMatrix5x4(float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.html">ColorMatrix5x4</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4__ctor_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.#ctor(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.-ctor.html#GrapeCity_Documents_Imaging_ColorMatrix5x4__ctor_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_">ColorMatrix5x4(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.html">ColorMatrix5x4</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4__ctor_System_Single___" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.#ctor(System.Single[])">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.-ctor.html#GrapeCity_Documents_Imaging_ColorMatrix5x4__ctor_System_Single___">ColorMatrix5x4(float[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.html">ColorMatrix5x4</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="GrapeCity_Documents_Imaging_ColorMatrix5x4_M11" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M11">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M11.html">M11</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 1 column 1 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M12" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M12">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M12.html">M12</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 1 column 2 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M13" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M13">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M13.html">M13</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 1 column 3 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M14" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M14">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M14.html">M14</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 1 column 4 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M21" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M21">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M21.html">M21</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 2 column 1 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M22" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M22">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M22.html">M22</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 2 column 2 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M23" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M23">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M23.html">M23</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 2 column 3 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M24" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M24">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M24.html">M24</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 2 column 4 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M31" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M31">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M31.html">M31</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 3 column 1 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M32" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M32">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M32.html">M32</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 3 column 2 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M33" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M33">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M33.html">M33</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 3 column 3 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M34" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M34">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M34.html">M34</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 3 column 4 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M41" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M41">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M41.html">M41</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 4 column 1 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M42" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M42">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M42.html">M42</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 4 column 2 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M43" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M43">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M43.html">M43</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 4 column 3 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M44" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M44">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M44.html">M44</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 4 column 4 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M51" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M51">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M51.html">M51</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 5 column 1 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M52" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M52">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M52.html">M52</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 5 column 2 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M53" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M53">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M53.html">M53</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 5 column 3 of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_M54" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.M54">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.M54.html">M54</a>
        </td>
        <td class="markdown level1 summary"><p>Value at row 5 column 4 of the ColorMatrix5x4.</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_Imaging_ColorMatrix5x4_Item_System_Int32_" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.Item.html#GrapeCity_Documents_Imaging_ColorMatrix5x4_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the component at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_Item_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.Item(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.Item.html#GrapeCity_Documents_Imaging_ColorMatrix5x4_Item_System_Int32_System_Int32_">this[int, int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the component at the specified index.</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_Imaging_ColorMatrix5x4_Equals_GrapeCity_Documents_Imaging_ColorMatrix5x4_" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.Equals(GrapeCity.Documents.Imaging.ColorMatrix5x4)">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.Equals.html#GrapeCity_Documents_Imaging_ColorMatrix5x4_Equals_GrapeCity_Documents_Imaging_ColorMatrix5x4_">Equals(ColorMatrix5x4)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.html">ColorMatrix5x4</a> is equal to this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_Equals_GrapeCity_Documents_Imaging_ColorMatrix5x4_GrapeCity_Documents_Imaging_ColorMatrix5x4_" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.Equals(GrapeCity.Documents.Imaging.ColorMatrix5x4,GrapeCity.Documents.Imaging.ColorMatrix5x4)">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.Equals.html#GrapeCity_Documents_Imaging_ColorMatrix5x4_Equals_GrapeCity_Documents_Imaging_ColorMatrix5x4_GrapeCity_Documents_Imaging_ColorMatrix5x4_">Equals(ColorMatrix5x4, ColorMatrix5x4)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether two instances of <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.html">ColorMatrix5x4</a> are equal.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_Equals_System_Object_" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.Equals.html#GrapeCity_Documents_Imaging_ColorMatrix5x4_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> is equal to this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_GetHashCode" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.GetHashCode">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.GetHashCode.html#GrapeCity_Documents_Imaging_ColorMatrix5x4_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_ToArray" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.ToArray">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.ToArray.html#GrapeCity_Documents_Imaging_ColorMatrix5x4_ToArray">ToArray()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an array containing the elements of the ColorMatrix5x4.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_ToString" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.ToString">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.ToString.html#GrapeCity_Documents_Imaging_ColorMatrix5x4_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="GrapeCity_Documents_Imaging_ColorMatrix5x4_op_Equality_GrapeCity_Documents_Imaging_ColorMatrix5x4_GrapeCity_Documents_Imaging_ColorMatrix5x4_" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.op_Equality(GrapeCity.Documents.Imaging.ColorMatrix5x4,GrapeCity.Documents.Imaging.ColorMatrix5x4)">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.op_Equality.html#GrapeCity_Documents_Imaging_ColorMatrix5x4_op_Equality_GrapeCity_Documents_Imaging_ColorMatrix5x4_GrapeCity_Documents_Imaging_ColorMatrix5x4_">operator ==(ColorMatrix5x4, ColorMatrix5x4)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests for equality between two objects.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_ColorMatrix5x4_op_Inequality_GrapeCity_Documents_Imaging_ColorMatrix5x4_GrapeCity_Documents_Imaging_ColorMatrix5x4_" data-uid="GrapeCity.Documents.Imaging.ColorMatrix5x4.op_Inequality(GrapeCity.Documents.Imaging.ColorMatrix5x4,GrapeCity.Documents.Imaging.ColorMatrix5x4)">
          <a class="xref" href="GrapeCity.Documents.Imaging.ColorMatrix5x4.op_Inequality.html#GrapeCity_Documents_Imaging_ColorMatrix5x4_op_Inequality_GrapeCity_Documents_Imaging_ColorMatrix5x4_GrapeCity_Documents_Imaging_ColorMatrix5x4_">operator !=(ColorMatrix5x4, ColorMatrix5x4)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests for inequality between two objects.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
