Skip to main content

ColorMatrix

Namespace: System.Drawing.Imaging

Assembly: System.Drawing.Managed (4.0.0.0)

Defines a 5 x 5 matrix that contains the homogeneous coordinates for the RGBA space.

public class ColorMatrix

Constructors​

Instance member ColorMatrix()​

Initializes a new instance of the ColorMatrix class.

Instance member ColorMatrix(newColorMatrix)​

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

NameTypeDescription
newColorMatrixSingle[][]The values of the elements for the new ColorMatrix.

Properties​

Instance member Item(row, column)​

Single: Gets or sets the value of the specified element of this ColorMatrix.

Instance member Matrix00​

Single: Gets or sets the element at the 0th row and 0th column.

Instance member Matrix01​

Single: Gets or sets the element at the 0th row and 1st column.

Instance member Matrix02​

Single: Gets or sets the element at the 0th row and 2nd column.

Instance member Matrix03​

Single: Gets or sets the element at the 0th row and 3rd column.

Instance member Matrix04​

Single: Gets or sets the element at the 0th row and 4th column.

Instance member Matrix10​

Single: Gets or sets the element at the 1st row and 0th column.

Instance member Matrix11​

Single: Gets or sets the element at the 1st row and 1st column.

Instance member Matrix12​

Single: Gets or sets the element at the 1st row and 2nd column.

Instance member Matrix13​

Single: Gets or sets the element at the 1st row and 3rd column.

Instance member Matrix14​

Single: Gets or sets the element at the 1st row and 4th column.

Instance member Matrix20​

Single: Gets or sets the element at the 2nd row and 0th column.

Instance member Matrix21​

Single: Gets or sets the element at the 2nd row and 1st column.

Instance member Matrix22​

Single: Gets or sets the element at the 2nd row and 2nd column.

Instance member Matrix23​

Single: Gets or sets the element at the 2nd row and 3rd column.

Instance member Matrix24​

Single: Gets or sets the element at the 2nd row and 4th column.

Instance member Matrix30​

Single: Gets or sets the element at the 3rd row and 0th column.

Instance member Matrix31​

Single: Gets or sets the element at the 3rd row and 1st column.

Instance member Matrix32​

Single: Gets or sets the element at the 3rd row and 2nd column.

Instance member Matrix33​

Single: Gets or sets the element at the 3rd row and 3rd column.

Instance member Matrix34​

Single: Gets or sets the element at the 3rd row and 4th column.

Instance member Matrix40​

Single: Gets or sets the element at the 4th row and 0th column.

Instance member Matrix41​

Single: Gets or sets the element at the 4th row and 1st column.

Instance member Matrix42​

Single: Gets or sets the element at the 4th row and 2nd column.

Instance member Matrix43​

Single: Gets or sets the element at the 4th row and 3rd column.

Instance member Matrix44​

Single: Gets or sets the element at the 4th row and 4th column.