ColorMatrix Class
Defines a 5 x 5 matrix that contains the coordinates for the RGBA space. Several methods of the ImageAttributes class adjust image colors by using a color matrix. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  Aspose.ImagingColorMatrix

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 19.9
Syntax
public sealed class ColorMatrix

The ColorMatrix type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyItem
Gets or sets the element at the specified row and column in the ColorMatrix.
Public propertyMatrix00
Gets or sets the element at the 0 (zero) row and 0 column of this ColorMatrix.
Public propertyMatrix01
Gets or sets the element at the 0 (zero) row and first column of this ColorMatrix.
Public propertyMatrix02
Gets or sets the element at the 0 (zero) row and second column of this ColorMatrix.
Public propertyMatrix03
Gets or sets the element at the 0 (zero) row and third column of this ColorMatrix.
Public propertyMatrix04
Gets or sets the element at the 0 (zero) row and fourth column of this ColorMatrix.
Public propertyMatrix10
Gets or sets the element at the first row and 0 (zero) column of this ColorMatrix.
Public propertyMatrix11
Gets or sets the element at the first row and first column of this ColorMatrix.
Public propertyMatrix12
Gets or sets the element at the first row and second column of this ColorMatrix.
Public propertyMatrix13
Gets or sets the element at the first row and third column of this ColorMatrix.
Public propertyMatrix14
Gets or sets the element at the first row and fourth column of this ColorMatrix.
Public propertyMatrix20
Gets or sets the element at the second row and 0 (zero) column of this ColorMatrix.
Public propertyMatrix21
Gets or sets the element at the second row and first column of this ColorMatrix.
Public propertyMatrix22
Gets or sets the element at the second row and second column of this ColorMatrix.
Public propertyMatrix23
Gets or sets the element at the second row and third column of this ColorMatrix.
Public propertyMatrix24
Gets or sets the element at the second row and fourth column of this ColorMatrix.
Public propertyMatrix30
Gets or sets the element at the third row and 0 (zero) column of this ColorMatrix.
Public propertyMatrix31
Gets or sets the element at the third row and first column of this ColorMatrix.
Public propertyMatrix32
Gets or sets the element at the third row and second column of this ColorMatrix.
Public propertyMatrix33
Gets or sets the element at the third row and third column of this ColorMatrix.
Public propertyMatrix34
Gets or sets the element at the third row and fourth column of this ColorMatrix.
Public propertyMatrix40
Gets or sets the element at the fourth row and 0 (zero) column of this ColorMatrix.
Public propertyMatrix41
Gets or sets the element at the fourth row and first column of this ColorMatrix.
Public propertyMatrix42
Gets or sets the element at the fourth row and second column of this ColorMatrix.
Public propertyMatrix43
Gets or sets the element at the fourth row and third column of this ColorMatrix.
Public propertyMatrix44
Gets or sets the element at the fourth row and fourth column of this ColorMatrix.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMatrix
Gets the matrix values.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Fields
  NameDescription
Public fieldStatic memberMatrixDimensionElementsCount
The number of elements in matrix dimension.
Public fieldStatic memberMatrixDimensionsCount
The number of matrix dimensions.
Public fieldStatic memberMatrixTotalElementsCount
The total number of elements in the matrix.
See Also