EmfPlusColorMatrixEffect Class
The ColorMatrixEffect object specifies an affine transform to be applied to an image.
Inheritance Hierarchy
SystemObject
  Aspose.Imaging.FileFormats.EmfMetaObject
    Aspose.Imaging.FileFormats.Emf.EmfPlus.ObjectsEmfPlusObject
      Aspose.Imaging.FileFormats.Emf.EmfPlus.ObjectsEmfPlusImageEffectsObjectType
        Aspose.Imaging.FileFormats.Emf.EmfPlus.ObjectsEmfPlusColorMatrixEffect

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public sealed class EmfPlusColorMatrixEffect : EmfPlusImageEffectsObjectType

The EmfPlusColorMatrixEffect type exposes the following members.

Constructors
  NameDescription
Public methodEmfPlusColorMatrixEffect
Initializes a new instance of the EmfPlusColorMatrixEffect class
Properties
  NameDescription
Public propertyMatrix
Gets or sets the matrix.
Public propertyMatrixN0
Gets or sets the Matrix[N][0] of the 5x5 color matrix. This row is used for transforms.
Public propertyMatrixN1
Gets or sets the Matrix[N][1] of the 5x5 color matrix. This row is used for transforms.
Public propertyMatrixN2
Gets or sets the Matrix[N][2] of the 5x5 color matrix. This row is used for transforms.
Public propertyMatrixN3
Gets or sets the Matrix[N][3] of the 5x5 color matrix. This row is used for transforms.
Public propertyMatrixN4
Gets or sets the Matrix[N][4] of the 5x5 color matrix. This row is used for color translations.
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 methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Remarks
Bitmap images are specified by EmfPlusBitmap objects (section 2.2.2.2). A color matrix effect is performed by multiplying a color vector by a ColorMatrixEffect object. A 5x5 color matrix can perform a linear transform, including reflection, rotation, shearing, or scaling followed by a translation.
See Also