ColorMatrix

System.Drawing.Imaging.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

ColorMatrix()

Initializes a new instance of the ColorMatrix class.

ColorMatrix(newColorMatrix)

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

Name
Type
Description

newColorMatrix

The values of the elements for the new ColorMatrix.

Properties

Item(row, column)

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

Matrix00

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

Matrix01

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

Matrix02

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

Matrix03

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

Matrix04

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

Matrix10

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

Matrix11

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

Matrix12

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

Matrix13

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

Matrix14

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

Matrix20

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

Matrix21

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

Matrix22

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

Matrix23

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

Matrix24

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

Matrix30

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

Matrix31

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

Matrix32

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

Matrix33

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

Matrix34

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

Matrix40

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

Matrix41

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

Matrix42

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

Matrix43

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

Matrix44

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

Last updated

Was this helpful?