<PackageReference Include="System.Drawing.Common" Version="9.0.4" />

ColorMatrix

public sealed class ColorMatrix
Defines a 5 x 5 matrix that contains the coordinates for the RGBAW space. Several methods of the ImageAttributes class adjust image colors by using a color matrix. This class cannot be inherited.
public float this[int row, int column] { get; set; }

Gets or sets the element at the specified row and column in the ColorMatrix.

public float Matrix00 { get; set; }

Gets or sets the element at the 0 (zero) row and 0 column of this ColorMatrix.

public float Matrix01 { get; set; }

Gets or sets the element at the 0 (zero) row and first column of this ColorMatrix.

public float Matrix02 { get; set; }

Gets or sets the element at the 0 (zero) row and second column of this ColorMatrix.

public float Matrix03 { get; set; }

Gets or sets the element at the 0 (zero) row and third column of this ColorMatrix. Represents the alpha component.

public float Matrix04 { get; set; }

Gets or sets the element at the 0 (zero) row and fourth column of this ColorMatrix.

public float Matrix10 { get; set; }

Gets or sets the element at the first row and 0 (zero) column of this ColorMatrix.

public float Matrix11 { get; set; }

Gets or sets the element at the first row and first column of this ColorMatrix.

public float Matrix12 { get; set; }

Gets or sets the element at the first row and second column of this ColorMatrix.

public float Matrix13 { get; set; }

Gets or sets the element at the first row and third column of this ColorMatrix. Represents the alpha component.

public float Matrix14 { get; set; }

Gets or sets the element at the first row and fourth column of this ColorMatrix.

public float Matrix20 { get; set; }

Gets or sets the element at the second row and 0 (zero) column of this ColorMatrix.

public float Matrix21 { get; set; }

Gets or sets the element at the second row and first column of this ColorMatrix.

public float Matrix22 { get; set; }

Gets or sets the element at the second row and second column of this ColorMatrix.

public float Matrix23 { get; set; }

Gets or sets the element at the second row and third column of this ColorMatrix.

public float Matrix24 { get; set; }

Gets or sets the element at the second row and fourth column of this ColorMatrix.

public float Matrix30 { get; set; }

Gets or sets the element at the third row and 0 (zero) column of this ColorMatrix.

public float Matrix31 { get; set; }

Gets or sets the element at the third row and first column of this ColorMatrix.

public float Matrix32 { get; set; }

Gets or sets the element at the third row and second column of this ColorMatrix.

public float Matrix33 { get; set; }

Gets or sets the element at the third row and third column of this ColorMatrix. Represents the alpha component.

public float Matrix34 { get; set; }

Gets or sets the element at the third row and fourth column of this ColorMatrix.

public float Matrix40 { get; set; }

Gets or sets the element at the fourth row and 0 (zero) column of this ColorMatrix.

public float Matrix41 { get; set; }

Gets or sets the element at the fourth row and first column of this ColorMatrix.

public float Matrix42 { get; set; }

Gets or sets the element at the fourth row and second column of this ColorMatrix.

public float Matrix43 { get; set; }

Gets or sets the element at the fourth row and third column of this ColorMatrix. Represents the alpha component.

public float Matrix44 { get; set; }

Gets or sets the element at the fourth row and fourth column of this ColorMatrix.

public ColorMatrix()

Initializes a new instance of the ColorMatrix class.

public ColorMatrix(float[][] newColorMatrix)

Initializes a new instance of the ColorMatrix class using the elements in the specified matrix newColorMatrix.