ColorMatrixOperation enumeration

ColorMatrixOperation enumeration

Specifies the type of operation to be applied in a color matrix filter.

The ColorMatrixOperation type exposes the following members:

Fields

FieldDescription
MATRIXApplies a matrix transformation to the color data.
SATURATEAdjusts the saturation level of the image.
HUE_ROTATEApplies a hue rotation on the image.
LUMINANCE_TO_ALPHAConverts the colors of the image to grayscale based on their luminance.

Remarks

The color matrix filter in SVG allows for various operations on the color data of an image. Each operation type manipulates the colors in a specific way, offering a range of visual effects.

See Also