Class EmfPlusColorMatrixEffect

EmfPlusColorMatrixEffect class

The ColorMatrixEffect object specifies an affine transform to be applied to an image.

public sealed class EmfPlusColorMatrixEffect : EmfPlusImageEffectsObjectType

Constructors

NameDescription
EmfPlusColorMatrixEffect()The default constructor.

Properties

NameDescription
Matrix { get; set; }Gets or sets the matrix.
MatrixN0 { get; set; }Gets or sets the Matrix[N][0] of the 5x5 color matrix. This row is used for transforms.
MatrixN1 { get; set; }Gets or sets the Matrix[N][1] of the 5x5 color matrix. This row is used for transforms.
MatrixN2 { get; set; }Gets or sets the Matrix[N][2] of the 5x5 color matrix. This row is used for transforms.
MatrixN3 { get; set; }Gets or sets the Matrix[N][3] of the 5x5 color matrix. This row is used for transforms.
MatrixN4 { get; set; }Gets or sets the Matrix[N][4] of the 5x5 color matrix. This row is used for color translations.

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